Revert "Move SkReadBuffer.h and SkReader32.h out of include."
authorhalcanary <halcanary@google.com>
Mon, 18 Aug 2014 20:48:13 +0000 (13:48 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 18 Aug 2014 20:48:13 +0000 (13:48 -0700)
This reverts commit 2a51d7c74cec217195f861677de8998b382b39e4.

Breaking Blink

NOTRY=true
R=bungeman@google.com
TBR=bungeman@google.com

Author: halcanary@google.com

Review URL: https://codereview.chromium.org/472303006

experimental/webtry/templates/template.cpp
gyp/core.gypi
gyp/public_headers.gypi
include/core/SkFlattenableBuffers.h [new file with mode: 0644]
include/core/SkReadBuffer.h [moved from src/core/SkReadBuffer.h with 100% similarity]
include/core/SkReader32.h [moved from src/core/SkReader32.h with 100% similarity]
tests/ImageFilterTest.cpp

index be43706..6748854 100644 (file)
@@ -55,6 +55,7 @@
 #include "SkError.h"
 #include "SkFixed.h"
 #include "SkFlate.h"
+#include "SkFlattenableBuffers.h"
 #include "SkFlattenable.h"
 #include "SkFlattenableSerialization.h"
 #include "SkFloatBits.h"
index 3546638..b6b0ef1 100644 (file)
         '<(skia_src_path)/core/SkQuadTree.h',
         '<(skia_src_path)/core/SkRasterClip.cpp',
         '<(skia_src_path)/core/SkRasterizer.cpp',
-        '<(skia_src_path)/core/SkReadBuffer.h',
         '<(skia_src_path)/core/SkReadBuffer.cpp',
-        '<(skia_src_path)/core/SkReader32.h',
         '<(skia_src_path)/core/SkRecordAnalysis.cpp',
         '<(skia_src_path)/core/SkRecordAnalysis.h',
         '<(skia_src_path)/core/SkRecordDraw.cpp',
         '<(skia_include_path)/core/SkPoint.h',
         '<(skia_include_path)/core/SkPreConfig.h',
         '<(skia_include_path)/core/SkRasterizer.h',
+        '<(skia_include_path)/core/SkReader32.h',
         '<(skia_include_path)/core/SkRect.h',
         '<(skia_include_path)/core/SkRefCnt.h',
         '<(skia_include_path)/core/SkRegion.h',
index cd40197..f7b859b 100644 (file)
@@ -39,6 +39,7 @@
       'core/SkFixed.h',
       'core/SkFlate.h',
       'core/SkFlattenable.h',
+      'core/SkFlattenableBuffers.h',
       'core/SkFlattenableSerialization.h',
       'core/SkFloatBits.h',
       'core/SkFloatingPoint.h',
@@ -72,6 +73,7 @@
       'core/SkPreConfig.h',
       'core/SkRRect.h',
       'core/SkRasterizer.h',
+      'core/SkReader32.h',
       'core/SkRect.h',
       'core/SkRefCnt.h',
       'core/SkRegion.h',
diff --git a/include/core/SkFlattenableBuffers.h b/include/core/SkFlattenableBuffers.h
new file mode 100644 (file)
index 0000000..3e5d5b9
--- /dev/null
@@ -0,0 +1,10 @@
+// Temporary shim to keep a couple dependencies working in Chromium.
+#ifndef SkFlattenableBuffers_DEFINED
+#define SkFlattenableBuffers_DEFINED
+
+#include "SkReadBuffer.h"
+#include "SkWriteBuffer.h"
+
+typedef SkReadBuffer SkFlattenableReadBuffer;
+
+#endif//SkFlattenableBuffers_DEFINED
index ee3de50..4ee9f5d 100644 (file)
@@ -15,6 +15,7 @@
 #include "SkDeviceImageFilterProxy.h"
 #include "SkDisplacementMapEffect.h"
 #include "SkDropShadowImageFilter.h"
+#include "SkFlattenableBuffers.h"
 #include "SkFlattenableSerialization.h"
 #include "SkGradientShader.h"
 #include "SkLightingImageFilter.h"
@@ -26,7 +27,6 @@
 #include "SkPicture.h"
 #include "SkPictureImageFilter.h"
 #include "SkPictureRecorder.h"
-#include "SkReadBuffer.h"
 #include "SkRect.h"
 #include "SkTileImageFilter.h"
 #include "SkXfermodeImageFilter.h"