diff options
-rw-r--r-- | cc/output/output_surface.cc | 1 | ||||
-rw-r--r-- | cc/output/output_surface_unittest.cc | 4 | ||||
-rw-r--r-- | cc/test/test_web_graphics_context_3d.h | 2 |
3 files changed, 6 insertions, 1 deletions
diff --git a/cc/output/output_surface.cc b/cc/output/output_surface.cc index 7fdf2bd..1cd1a7a 100644 --- a/cc/output/output_surface.cc +++ b/cc/output/output_surface.cc @@ -19,6 +19,7 @@ #include "cc/output/output_surface_client.h" #include "cc/scheduler/delay_based_time_source.h" #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" +#include "third_party/WebKit/public/platform/WebGraphicsMemoryAllocation.h" #include "third_party/khronos/GLES2/gl2.h" #include "third_party/khronos/GLES2/gl2ext.h" #include "ui/gfx/rect.h" diff --git a/cc/output/output_surface_unittest.cc b/cc/output/output_surface_unittest.cc index 54ad9ac..9ac699a 100644 --- a/cc/output/output_surface_unittest.cc +++ b/cc/output/output_surface_unittest.cc @@ -2,15 +2,17 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include "cc/output/output_surface.h" + #include "base/test/test_simple_task_runner.h" #include "cc/output/managed_memory_policy.h" -#include "cc/output/output_surface.h" #include "cc/output/output_surface_client.h" #include "cc/output/software_output_device.h" #include "cc/test/scheduler_test_common.h" #include "cc/test/test_web_graphics_context_3d.h" #include "gpu/GLES2/gl2extchromium.h" #include "testing/gtest/include/gtest/gtest.h" +#include "third_party/WebKit/public/platform/WebGraphicsMemoryAllocation.h" using WebKit::WebGraphicsMemoryAllocation; diff --git a/cc/test/test_web_graphics_context_3d.h b/cc/test/test_web_graphics_context_3d.h index 0652681..e24b43b 100644 --- a/cc/test/test_web_graphics_context_3d.h +++ b/cc/test/test_web_graphics_context_3d.h @@ -16,6 +16,8 @@ #include "cc/debug/fake_web_graphics_context_3d.h" #include "third_party/khronos/GLES2/gl2.h" +namespace WebKit { struct WebGraphicsMemoryAllocation; } + namespace cc { class TestWebGraphicsContext3D : public FakeWebGraphicsContext3D { |