aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Greg Daniel <egdaniel@google.com>2018-05-30 17:04:53 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-05-30 21:25:49 +0000
commitfac695317f13bfd52bf640308834d3fc28fffc29 (patch)
tree48c5ee5bec57de2ca1892863201f8ccda83d49af
parent35b40ce7afd69ea09513e0c08a6bb7ae1ec3fe07 (diff)
Move include into head to fix build breakage.
Bug: skia: Change-Id: I47e182bf18f56c9c0749a1fd79b85d26fce9887e Reviewed-on: https://skia-review.googlesource.com/131022 Commit-Queue: Greg Daniel <egdaniel@google.com> Commit-Queue: Brian Osman <brianosman@google.com> Auto-Submit: Greg Daniel <egdaniel@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
-rw-r--r--include/gpu/vk/GrVkBackendContext.h3
-rw-r--r--src/gpu/vk/GrVkBackendContext.cpp1
2 files changed, 1 insertions, 3 deletions
diff --git a/include/gpu/vk/GrVkBackendContext.h b/include/gpu/vk/GrVkBackendContext.h
index 212362873a..4b93de8554 100644
--- a/include/gpu/vk/GrVkBackendContext.h
+++ b/include/gpu/vk/GrVkBackendContext.h
@@ -12,8 +12,7 @@
#include "vk/GrVkDefines.h"
#include "vk/GrVkInterface.h"
-
-class GrVkMemoryAllocator;
+#include "vk/GrVkMemoryAllocator.h"
enum GrVkExtensionFlags {
kEXT_debug_report_GrVkExtensionFlag = 0x0001,
diff --git a/src/gpu/vk/GrVkBackendContext.cpp b/src/gpu/vk/GrVkBackendContext.cpp
index 196b141493..d54582f3a5 100644
--- a/src/gpu/vk/GrVkBackendContext.cpp
+++ b/src/gpu/vk/GrVkBackendContext.cpp
@@ -8,7 +8,6 @@
#include "SkAutoMalloc.h"
#include "vk/GrVkBackendContext.h"
#include "vk/GrVkExtensions.h"
-#include "vk/GrVkMemoryAllocator.h"
#include "vk/GrVkUtil.h"
////////////////////////////////////////////////////////////////////////////////