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

Unified Diff: src/core/SkDevice.cpp

Issue 334993002: hide virtuals on device for width/height/isopaque (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 6 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 | « include/gpu/SkGpuDevice.h ('k') | src/gpu/GrPictureUtils.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkDevice.cpp
diff --git a/src/core/SkDevice.cpp b/src/core/SkDevice.cpp
index 6c5c0f391da1ee87a2bb85a7610666ff1ca43bd0..6a09c0b9db8b2443a678d0e18176692f976a7382 100644
--- a/src/core/SkDevice.cpp
+++ b/src/core/SkDevice.cpp
@@ -49,9 +49,8 @@ SkMetaData& SkBaseDevice::getMetaData() {
return *fMetaData;
}
-// TODO: should make this guy pure-virtual.
SkImageInfo SkBaseDevice::imageInfo() const {
- return SkImageInfo::MakeUnknown(this->width(), this->height());
+ return SkImageInfo::MakeUnknown();
}
const SkBitmap& SkBaseDevice::accessBitmap(bool changePixels) {
« no previous file with comments | « include/gpu/SkGpuDevice.h ('k') | src/gpu/GrPictureUtils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698