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

Unified Diff: third_party/WebKit/Source/core/html/HTMLCanvasElement.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/html/HTMLCanvasElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
index 6c8a1550804f99fdf8c333fda4058e6c05192116..d52462a8529242136b99857fa81453765229739b 100644
--- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
@@ -68,7 +68,7 @@ typedef CanvasRenderingContext2DOrWebGLRenderingContextOrWebGL2RenderingContextO
class CORE_EXPORT HTMLCanvasElement final : public HTMLElement, public DocumentVisibilityObserver, public CanvasImageSource, public ImageBufferClient, public ImageBitmapSource {
DEFINE_WRAPPERTYPEINFO();
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(HTMLCanvasElement);
+ USING_GARBAGE_COLLECTED_MIXIN(HTMLCanvasElement);
public:
DECLARE_NODE_FACTORY(HTMLCanvasElement);
~HTMLCanvasElement() override;
@@ -123,7 +123,7 @@ public:
void disableDeferral(DisableDeferralReason) const;
SkCanvas* existingDrawingCanvas() const;
- void setRenderingContext(PassOwnPtrWillBeRawPtr<CanvasRenderingContext>);
+ void setRenderingContext(RawPtr<CanvasRenderingContext>);
CanvasRenderingContext* renderingContext() const { return m_context.get(); }
void ensureUnacceleratedImageBuffer();
@@ -219,11 +219,11 @@ private:
String toDataURLInternal(const String& mimeType, const double& quality, SourceDrawingBuffer) const;
- PersistentHeapHashSetWillBeHeapHashSet<WeakMember<CanvasDrawListener>> m_listeners;
+ HeapHashSet<WeakMember<CanvasDrawListener>> m_listeners;
IntSize m_size;
- OwnPtrWillBeMember<CanvasRenderingContext> m_context;
+ Member<CanvasRenderingContext> m_context;
bool m_ignoreReset;
FloatRect m_dirtyRect;
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLButtonElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698