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

Unified Diff: include/core/SkCanvas.h

Issue 1022423002: Make SkCanvas::getBaseLayerSize() virtual (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkCanvas.h
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index 836f7b1115797ee20e29cfe23702c986b09aa97b..8df29893ff9cf3574d28e86bc27a87409ce345c1 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -130,7 +130,7 @@ public:
* origin of the base layer is always (0,0). The current drawable area may be
* smaller (due to clipping or saveLayer).
*/
- SkISize getBaseLayerSize() const;
+ virtual SkISize getBaseLayerSize() const;
/**
* DEPRECATED: call getBaseLayerSize
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698