Fix for r14341 Chrome build error
https://codereview.chromium.org/252393003/ git-svn-id: http://skia.googlecode.com/svn/trunk@14345 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
a3cff85b4a
commit
c822bb3d4b
@ -283,10 +283,10 @@ SkCanvas* SkPicture::beginRecording(int width, int height,
|
||||
if (recordingFlags & kOptimizeForClippedPlayback_RecordingFlag) {
|
||||
SkBBoxHierarchy* tree = this->createBBoxHierarchy();
|
||||
SkASSERT(NULL != tree);
|
||||
fRecord = SkNEW_ARGS(SkBBoxHierarchyRecord, (size, recordingFlags, tree));
|
||||
fRecord = SkNEW_ARGS(SkBBoxHierarchyRecord, (this, size, recordingFlags, tree));
|
||||
tree->unref();
|
||||
} else {
|
||||
fRecord = SkNEW_ARGS(SkPictureRecord, (size, recordingFlags));
|
||||
fRecord = SkNEW_ARGS(SkPictureRecord, (this, size, recordingFlags));
|
||||
}
|
||||
fRecord->beginRecording();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user