summaryrefslogtreecommitdiffstats
path: root/content/gpu/gpu_main.cc
diff options
context:
space:
mode:
authormartina.kollarova <martina.kollarova@intel.com>2015-06-25 04:49:07 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-25 11:49:45 +0000
commita34211d0dbc41978f49887896edd6970696be643 (patch)
treeb53d2f32fe69c71ab293c1ee04f3d22367f29739 /content/gpu/gpu_main.cc
parent4310022a0cb532805f13ba2ca0d6d048795e1949 (diff)
downloadchromium_src-a34211d0dbc41978f49887896edd6970696be643.zip
chromium_src-a34211d0dbc41978f49887896edd6970696be643.tar.gz
chromium_src-a34211d0dbc41978f49887896edd6970696be643.tar.bz2
Use more forward declarations in gpu code
Some of the files were relying on gles2_cmd_decoder.h to include glx::GLContext and glx::Size for them, so extra includes were added there. BUG=None Review URL: https://codereview.chromium.org/1201193002 Cr-Commit-Position: refs/heads/master@{#336128}
Diffstat (limited to 'content/gpu/gpu_main.cc')
-rw-r--r--content/gpu/gpu_main.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc
index 71e493b..cae99f6 100644
--- a/content/gpu/gpu_main.cc
+++ b/content/gpu/gpu_main.cc
@@ -38,6 +38,7 @@
#include "gpu/config/gpu_switches.h"
#include "gpu/config/gpu_util.h"
#include "ui/events/platform/platform_event_source.h"
+#include "ui/gl/gl_context.h"
#include "ui/gl/gl_implementation.h"
#include "ui/gl/gl_surface.h"
#include "ui/gl/gl_switches.h"