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

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, 9 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 2824bcfdf208c3368b20ffc7ca7f9505a3dbf7ce..b42aa497535e6eb27f899b3f068ed234f7ce69d9 100644
--- a/third_party/WebKit/Source/core/layout/LayoutImage.h
+++ b/third_party/WebKit/Source/core/layout/LayoutImage.h
@@ -55,7 +55,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(); }
@@ -123,7 +123,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'.
« no previous file with comments | « third_party/WebKit/Source/core/layout/HitTestResult.h ('k') | third_party/WebKit/Source/core/layout/LayoutImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698