Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(404)

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleResourceLoader.cpp

Issue 1387113002: Change StyleResolverState.styleImage() to take a const CSSValue& (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added TODOs to replace the members with const members Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/resolver/StyleResourceLoader.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResourceLoader.cpp b/third_party/WebKit/Source/core/css/resolver/StyleResourceLoader.cpp
index 313bbb272371e398d71ee4593fa979075898ea90..ce42d106b9a3067786a9a34d9c1bc1f495b202be 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleResourceLoader.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResourceLoader.cpp
@@ -84,7 +84,7 @@ static PassRefPtrWillBeRawPtr<StyleImage> doLoadPendingImage(Document* document,
if (CSSImageGeneratorValue* imageGeneratorValue = pendingImage->cssImageGeneratorValue()) {
imageGeneratorValue->loadSubimages(document);
- return StyleGeneratedImage::create(imageGeneratorValue);
+ return StyleGeneratedImage::create(*imageGeneratorValue);
}
if (CSSCursorImageValue* cursorImageValue = pendingImage->cssCursorImageValue())

Powered by Google App Engine
This is Rietveld 408576698