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

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

Issue 1386413002: Added TODOs to StyleImage::create() to take PassRefPtrWillBeRawPtr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@make_styleresolverstate_styleImage_take_a_const_reference
Patch Set: Added comments to const_cast calls 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 ce42d106b9a3067786a9a34d9c1bc1f495b202be..313bbb272371e398d71ee4593fa979075898ea90 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