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

Unified Diff: src/core/SkPicture.cpp

Issue 18655008: Revert "Temporary change to keep chrome happy." (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 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/core/SkPicture.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkPicture.cpp
diff --git a/src/core/SkPicture.cpp b/src/core/SkPicture.cpp
index 07d324fdb71eb5713906afab66d0fb22fb75f890..2b488dec02af69953e56124bb122f8831c7eeeb3 100644
--- a/src/core/SkPicture.cpp
+++ b/src/core/SkPicture.cpp
@@ -283,26 +283,6 @@ bool SkPicture::StreamIsSKP(SkStream* stream, SkPictInfo* pInfo) {
return true;
}
-SkPicture::SkPicture(SkStream* stream, bool* success, InstallPixelRefProc proc) {
- fRecord = NULL;
- SkAutoTUnref<SkPicture> picture(CreateFromStream(stream, proc));
- if (NULL == picture.get()) {
- fPlayback = NULL;
- fWidth = fHeight = 0;
- if (success) {
- *success = false;
- }
- } else {
- fPlayback = picture->fPlayback;
- picture->fPlayback = NULL;
- fWidth = picture->fWidth;
- fHeight = picture->fHeight;
- if (success) {
- *success = true;
- }
- }
-}
-
SkPicture::SkPicture(SkPicturePlayback* playback, int width, int height)
: fPlayback(playback)
, fRecord(NULL)
« no previous file with comments | « include/core/SkPicture.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698