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

Unified Diff: third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.h

Issue 1461193003: Revert of [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make patch applicable 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.h
diff --git a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.h b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.h
index 6d8d74b54ddca9a10e1034b9c137a203568c3b06..326700a278310250f3a0fd2c6df48798c3a397e1 100644
--- a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.h
+++ b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.h
@@ -88,10 +88,10 @@ public:
bool hasFilter() const { return m_filterValue; }
void setStrokeStyle(CanvasStyle*);
- CanvasStyle* strokeStyle() const;
+ CanvasStyle* strokeStyle() const { return m_strokeStyle.get(); }
void setFillStyle(CanvasStyle*);
- CanvasStyle* fillStyle() const;
+ CanvasStyle* fillStyle() const { return m_fillStyle.get(); }
CanvasStyle* style(PaintType) const;

Powered by Google App Engine
This is Rietveld 408576698