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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutImage.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/layout/LayoutImage.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutImage.h b/third_party/WebKit/Source/core/layout/LayoutImage.h
index d52c9331a14bbc147b2bf3391d60025924232b7c..102c0425b848b5b4a593fcb3b9d258f2f9f134d9 100644
--- a/third_party/WebKit/Source/core/layout/LayoutImage.h
+++ b/third_party/WebKit/Source/core/layout/LayoutImage.h
@@ -54,7 +54,7 @@ public:
static LayoutImage* createAnonymous(Document*);
- void setImageResource(PassOwnPtrWillBeRawPtr<LayoutImageResource>);
+ void setImageResource(RawPtr<LayoutImageResource>);
LayoutImageResource* imageResource() { return m_imageResource.get(); }
const LayoutImageResource* imageResource() const { return m_imageResource.get(); }
@@ -122,7 +122,7 @@ private:
// * For generated content, the resource is loaded during style resolution
// and thus is stored in ComputedStyle (see ContentData::image) that gets
// propagated to the anonymous LayoutImage in LayoutObject::createObject.
- OwnPtrWillBePersistent<LayoutImageResource> m_imageResource;
+ Persistent<LayoutImageResource> m_imageResource;
bool m_didIncrementVisuallyNonEmptyPixelCount;
// This field stores whether this image is generated with 'content'.

Powered by Google App Engine
This is Rietveld 408576698