Move SkNoSaveLayerCanvas.h to include/utils
authorrobertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Sun, 16 Mar 2014 21:59:11 +0000 (21:59 +0000)
committerrobertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Sun, 16 Mar 2014 21:59:11 +0000 (21:59 +0000)
https://codereview.chromium.org/197243005

git-svn-id: http://skia.googlecode.com/svn/trunk@13823 2bbb7eff-a529-9590-31e7-b0007b416f81

gyp/utils.gyp
include/utils/SkNoSaveLayerCanvas.h [moved from src/utils/SkNoSaveLayerCanvas.h with 96% similarity]

index 0d6c2ac..d94f4a2 100644 (file)
@@ -46,6 +46,7 @@
         '../include/utils/SkMatrix44.h',
         '../include/utils/SkMeshUtils.h',
         '../include/utils/SkNinePatch.h',
+        '../include/utils/SkNoSaveLayerCanvas.h',
         '../include/utils/SkNWayCanvas.h',
         '../include/utils/SkNullCanvas.h',
         '../include/utils/SkParse.h',
@@ -85,7 +86,6 @@
         '../src/utils/SkMD5.h',
         '../src/utils/SkMeshUtils.cpp',
         '../src/utils/SkNinePatch.cpp',
-        '../src/utils/SkNoSaveLayerCanvas.h',
         '../src/utils/SkNWayCanvas.cpp',
         '../src/utils/SkNullCanvas.cpp',
         '../src/utils/SkOSFile.cpp',
similarity index 96%
rename from src/utils/SkNoSaveLayerCanvas.h
rename to include/utils/SkNoSaveLayerCanvas.h
index 6b34684..686f179 100644 (file)
@@ -14,7 +14,7 @@
 // The NoSaveLayerCanvas is used to play back SkPictures when the saveLayer
 // functionality isn't required (e.g., during analysis of the draw calls).
 // It also simplifies the clipping calls to only use rectangles.
-class SkNoSaveLayerCanvas : public SkCanvas {
+class SK_API SkNoSaveLayerCanvas : public SkCanvas {
 public:
     SkNoSaveLayerCanvas(SkBaseDevice* device) : INHERITED(device) {}