diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-11 14:20:08 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-11 14:20:08 +0000 |
commit | 40224ee7bed9313e9973d6082b60912e778220c5 (patch) | |
tree | 09a3524266f9d524edd608cb50bbe2ef1d7daa1a /cc | |
parent | 668e4a5d61579180401919245ddb6d09420583d4 (diff) | |
download | chromium_src-40224ee7bed9313e9973d6082b60912e778220c5.zip chromium_src-40224ee7bed9313e9973d6082b60912e778220c5.tar.gz chromium_src-40224ee7bed9313e9973d6082b60912e778220c5.tar.bz2 |
cc: Add missing includes of WebGraphicsMemoryAllocation.h
The declaration of WebGraphicsMemoryAllocation type is been used through the
include of WebGraphicsContext3D.h, but for iwyu is better to explicity include
it.
BUG=None
TEST=cc_unittests
R=danakj@chromium.org
Review URL: https://codereview.chromium.org/18941004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211111 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc')
-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 { |