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

Unified Diff: third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h

Issue 2862923002: More cleanups on the CanvasRenderingContextHost front (Closed)
Patch Set: Created 3 years, 7 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/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h
diff --git a/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h b/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h
index 1f994a34aecebcf366194bba3ee2b09f4c45314e..23a04d958e3543112f4c5b8ce69e2e801acb4e59 100644
--- a/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h
+++ b/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h
@@ -37,7 +37,7 @@ class MODULES_EXPORT OffscreenCanvasRenderingContext2D final
}
};
- OffscreenCanvas* offscreenCanvas() const {
+ OffscreenCanvas* offscreenCanvasForBinding() const {
Justin Novosad 2017/05/04 20:55:24 Nit: Binding -> Bindings
DCHECK(!host() || host()->IsOffscreenCanvas());
return static_cast<OffscreenCanvas*>(host());
}
@@ -119,7 +119,6 @@ class MODULES_EXPORT OffscreenCanvasRenderingContext2D final
CanvasPixelFormat PixelFormat() const override;
};
-// TODO(fserb): remove this.
DEFINE_TYPE_CASTS(OffscreenCanvasRenderingContext2D,
CanvasRenderingContext,
context,

Powered by Google App Engine
This is Rietveld 408576698