Fix Chromium build
authorrobertphillips <robertphillips@google.com>
Wed, 11 Feb 2015 19:38:44 +0000 (11:38 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 11 Feb 2015 19:38:44 +0000 (11:38 -0800)
TBR=jvanverth@google.com

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

debugger/QT/SkDebuggerGUI.cpp
src/utils/debugger/SkDrawCommand.h
tests/MatrixClipCollapseTest.cpp
tools/filtermain.cpp

index 01d8c66..b202e3d 100644 (file)
@@ -7,9 +7,6 @@
 
 #include "SkDebuggerGUI.h"
 #include "PictureRenderer.h"
-#include "SkPictureData.h"
-#include "SkPicturePlayback.h"
-#include "SkPictureRecord.h"
 #include <QListWidgetItem>
 #include <QtGui>
 
index bcc97ca..45b5ee1 100644 (file)
@@ -110,6 +110,8 @@ private:
     bool   fVisible;
 };
 
+typedef SkDrawCommand::OpType DrawType;
+
 class SkRestoreCommand : public SkDrawCommand {
 public:
     SkRestoreCommand();
index c994027..36a3ea4 100644 (file)
@@ -6,6 +6,9 @@
  */
 
 #include "Test.h"
+
+#ifdef SK_COLLAPSE_MATRIX_CLIP_STATE
+
 #include "SkCanvas.h"
 #include "SkDebugCanvas.h"
 #include "SkPicture.h"
@@ -52,7 +55,6 @@
 //        system is ready for prime time
 //   bench the recording times with/without matrix/clip collapsing
 
-#ifdef SK_COLLAPSE_MATRIX_CLIP_STATE
 
 // Enable/disable debugging helper code
 //#define TEST_COLLAPSE_MATRIX_CLIP_STATE 1
index 6883ff2..ec4d6aa 100644 (file)
@@ -13,7 +13,6 @@
 #include "SkImageEncoder.h"
 #include "SkOSFile.h"
 #include "SkPicture.h"
-#include "SkPictureRecord.h"
 #include "SkPictureRecorder.h"
 #include "SkStream.h"
 #include "picture_utils.h"