2 * Copyright 2014 Google Inc.
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
8 #include "SkPictureRecorder.h"
10 SkCanvas* SkPictureRecorder::beginRecording(int width, int height,
11 SkBBHFactory* bbhFactory /* = NULL */,
12 uint32_t recordFlags /* = 0 */) {
13 fPicture.reset(SkNEW(SkPicture));
14 return fPicture->beginRecording(width, height, bbhFactory, recordFlags);