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

Side by Side Diff: src/core/SkQuadTreePicture.cpp

Issue 243173002: Staging for cleanup of SkPicture-related headers (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Add crucial newline at end of file Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/core/SkQuadTreePicture.h ('k') | src/core/SkRTreePicture.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifdef SK_SUPPORT_LEGACY_DERIVED_PICTURE_CLASSES
9
8 #include "SkQuadTreePicture.h" 10 #include "SkQuadTreePicture.h"
9 11
10 #include "SkQuadTree.h" 12 #include "SkQuadTree.h"
11 13
12 SkBBoxHierarchy* SkQuadTreeFactory::operator()(int width, int height) const {
13 return SkNEW_ARGS(SkQuadTree, (SkIRect::MakeWH(width, height)));
14 }
15
16 #ifdef SK_SUPPORT_LEGACY_DERIVED_PICTURE_CLASSES
17
18 SkBBoxHierarchy* SkQuadTreePicture::createBBoxHierarchy() const { 14 SkBBoxHierarchy* SkQuadTreePicture::createBBoxHierarchy() const {
19 return SkNEW_ARGS(SkQuadTree, (fBounds)); 15 return SkNEW_ARGS(SkQuadTree, (fBounds));
20 } 16 }
21 17
22 #endif 18 #endif
OLDNEW
« no previous file with comments | « src/core/SkQuadTreePicture.h ('k') | src/core/SkRTreePicture.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698