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

Unified Diff: src/utils/SkDeferredCanvas.cpp

Issue 198943003: getDeviceCapabilities is no longer need, so remove it (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 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
Index: src/utils/SkDeferredCanvas.cpp
diff --git a/src/utils/SkDeferredCanvas.cpp b/src/utils/SkDeferredCanvas.cpp
index 6592c6088447e18bfd328c78cd81210ff281fb89..07bd6acda60bcc2e49b4a438ac089ada470bd3b2 100644
--- a/src/utils/SkDeferredCanvas.cpp
+++ b/src/utils/SkDeferredCanvas.cpp
@@ -157,7 +157,6 @@ public:
void setMaxRecordingStorage(size_t);
void recordedDrawCommand();
- virtual uint32_t getDeviceCapabilities() SK_OVERRIDE;
virtual int width() const SK_OVERRIDE;
virtual int height() const SK_OVERRIDE;
virtual SkBitmap::Config config() const SK_OVERRIDE;
@@ -432,10 +431,6 @@ SkImage* SkDeferredDevice::newImageSnapshot() {
return fSurface ? fSurface->newImageSnapshot() : NULL;
}
-uint32_t SkDeferredDevice::getDeviceCapabilities() {
- return immediateDevice()->getDeviceCapabilities();
-}
-
int SkDeferredDevice::width() const {
return immediateDevice()->width();
}

Powered by Google App Engine
This is Rietveld 408576698