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

Unified Diff: third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp

Issue 1455943002: [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp b/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
index bf12c2feaf31ba82571f7577f0a1568762032aff..c9624691f6857f3c90b45443a89c8f1e06a925cd 100644
--- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
@@ -786,6 +786,11 @@ SkCanvas* HTMLCanvasElement::existingDrawingCanvas() const
return m_imageBuffer->canvas();
}
+CanvasRenderingContext* HTMLCanvasElement::renderingContext() const
+{
+ return m_context.get();
+}
+
ImageBuffer* HTMLCanvasElement::buffer() const
{
ASSERT(m_context);

Powered by Google App Engine
This is Rietveld 408576698