Index: src/image/SkSurface_Base.h |
diff --git a/src/image/SkSurface_Base.h b/src/image/SkSurface_Base.h |
index 0519a9b3c0ab9150a6d3b5d7816c3f2b3c45aa7a..159780b33a838cc3799bdb45bf6fdf6336053206 100644 |
--- a/src/image/SkSurface_Base.h |
+++ b/src/image/SkSurface_Base.h |
@@ -43,7 +43,7 @@ |
* must faithfully represent the current contents, even if the surface |
* is changed after this called (e.g. it is drawn to via its canvas). |
*/ |
- virtual SkImage* onNewImageSnapshot(SkBudgeted, ForceCopyMode) = 0; |
+ virtual SkImage* onNewImageSnapshot(Budgeted, ForceCopyMode) = 0; |
/** |
* Default implementation: |
@@ -81,7 +81,7 @@ |
virtual void onPrepareForExternalIO() {} |
inline SkCanvas* getCachedCanvas(); |
- inline SkImage* refCachedImage(SkBudgeted, ForceUnique); |
+ inline SkImage* refCachedImage(Budgeted, ForceUnique); |
bool hasCachedImage() const { return fCachedImage != nullptr; } |
@@ -114,7 +114,7 @@ |
return fCachedCanvas; |
} |
-SkImage* SkSurface_Base::refCachedImage(SkBudgeted budgeted, ForceUnique unique) { |
+SkImage* SkSurface_Base::refCachedImage(Budgeted budgeted, ForceUnique unique) { |
SkImage* snap = fCachedImage; |
if (kYes_ForceUnique == unique && snap && !snap->unique()) { |
snap = nullptr; |