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

Unified Diff: third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.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: CORE_EXPORT 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/modules/canvas2d/CanvasRenderingContext2DState.cpp
diff --git a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp
index e532787ec31df8c83a060297b68b7beff698b07f..17059a8eece1cd63d32529a1662d0e29c43d5e3f 100644
--- a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp
+++ b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp
@@ -234,12 +234,22 @@ void CanvasRenderingContext2DState::setStrokeStyle(CanvasStyle* style)
m_strokeStyleDirty = true;
}
+CanvasStyle* CanvasRenderingContext2DState::strokeStyle() const
+{
+ return m_strokeStyle.get();
+}
+
void CanvasRenderingContext2DState::setFillStyle(CanvasStyle* style)
{
m_fillStyle = style;
m_fillStyleDirty = true;
}
+CanvasStyle* CanvasRenderingContext2DState::fillStyle() const
+{
+ return m_fillStyle.get();
+}
+
void CanvasRenderingContext2DState::updateStrokeStyle() const
{
if (!m_strokeStyleDirty)

Powered by Google App Engine
This is Rietveld 408576698