Fix SkWindow.cpp includes for non-gpu mode
authorBrian Salomon <bsalomon@google.com>
Fri, 9 Oct 2015 20:54:48 +0000 (16:54 -0400)
committerBrian Salomon <bsalomon@google.com>
Fri, 9 Oct 2015 20:54:48 +0000 (16:54 -0400)
TBR=bungeman@google.com

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

src/views/SkWindow.cpp

index 7f9b6833156cce4baa23b6d2317e9148bceda119..d93bc96a66ae8df9214ac9d88f40357485b6846f 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include "SkWindow.h"
-#include "GrContext.h"
 #include "SkCanvas.h"
 #include "SkOSMenu.h"
 #include "SkSurface.h"
@@ -317,6 +316,7 @@ bool SkWindow::onDispatchClick(int x, int y, Click::State state,
 
 #if SK_SUPPORT_GPU
 
+#include "GrContext.h"
 #include "gl/GrGLInterface.h"
 #include "gl/GrGLUtil.h"
 #include "SkGr.h"