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

Unified Diff: src/core/SkSpecialImage.cpp

Issue 1780433002: Rename SkSpecialImage::getBitmap to getBitmapDeprecated (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 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: src/core/SkSpecialImage.cpp
diff --git a/src/core/SkSpecialImage.cpp b/src/core/SkSpecialImage.cpp
index 0bbe50a688607ac9415b23582d29d3b4a3b93578..a81e384eedbfd6b71cdceb00fa05139a7b99d42d 100644
--- a/src/core/SkSpecialImage.cpp
+++ b/src/core/SkSpecialImage.cpp
@@ -27,7 +27,7 @@ public:
virtual bool testingOnlyOnGetROPixels(SkBitmap*) const = 0;
// Delete this entry point ASAP (see skbug.com/4965)
- virtual bool getBitmap(SkBitmap* result) const = 0;
+ virtual bool getBitmapDeprecated(SkBitmap* result) const = 0;
virtual SkSpecialSurface* onNewSurface(const SkImageInfo& info) const { return nullptr; }
@@ -82,7 +82,7 @@ bool SkSpecialImage::internal_getBM(SkBitmap* result) {
const SkSpecialImage_Base* ib = as_SIB(this);
// TODO: need to test offset case! (see skbug.com/4967)
- return ib->getBitmap(result);
+ return ib->getBitmapDeprecated(result);
}
SkImageFilter::Proxy* SkSpecialImage::internal_getProxy() {
@@ -137,7 +137,7 @@ public:
GrTexture* onPeekTexture() const override { return as_IB(fImage.get())->peekTexture(); }
- bool getBitmap(SkBitmap* result) const override {
+ bool getBitmapDeprecated(SkBitmap* result) const override {
return false;
}
@@ -229,7 +229,7 @@ public:
return false;
}
- bool getBitmap(SkBitmap* result) const override {
+ bool getBitmapDeprecated(SkBitmap* result) const override {
*result = fBitmap;
return true;
}
@@ -293,7 +293,7 @@ public:
GrTexture* onPeekTexture() const override { return fTexture; }
- bool getBitmap(SkBitmap* result) const override {
+ bool getBitmapDeprecated(SkBitmap* result) const override {
const SkImageInfo info = GrMakeInfoFromTexture(fTexture,
this->width(), this->height(),
this->isOpaque());
« 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