summaryrefslogtreecommitdiffstats
path: root/cc/bitmap_skpicture_content_layer_updater.cc
diff options
context:
space:
mode:
authorjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-08 18:16:17 +0000
committerjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-08 18:16:17 +0000
commitcd98a8c34395c06c36cacf7dfe2ab9f7a168054f (patch)
treeb8fb24fc326adbe20c90dcbe9ff8fa4b2d811a67 /cc/bitmap_skpicture_content_layer_updater.cc
parentf7f6d2836ab69971133d9ae7176f09602698be4c (diff)
downloadchromium_src-cd98a8c34395c06c36cacf7dfe2ab9f7a168054f.zip
chromium_src-cd98a8c34395c06c36cacf7dfe2ab9f7a168054f.tar.gz
chromium_src-cd98a8c34395c06c36cacf7dfe2ab9f7a168054f.tar.bz2
Avoid exposing gl bindings through cc public API headers
The cc library uses chromium's gles2 bindings in third_party/khronos/... to bind to GL for rendering. However, users of cc may not be able to pull these headers in when including cc API - for instance, on mac any code that includes content/common/view_messages.h pulls in the Apple CGL api through npapi.h. On the 10.6 SDK these headers collide with chromium's gl headers. This avoids exposing gl2.h includes via layer_tree_host.h, mostly by not including prioritized_resource_manager.h directly in l_t_h.h. BUG=156175 Review URL: https://chromiumcodereview.appspot.com/11794019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175554 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/bitmap_skpicture_content_layer_updater.cc')
-rw-r--r--cc/bitmap_skpicture_content_layer_updater.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/bitmap_skpicture_content_layer_updater.cc b/cc/bitmap_skpicture_content_layer_updater.cc
index 54d04fb..8434b98 100644
--- a/cc/bitmap_skpicture_content_layer_updater.cc
+++ b/cc/bitmap_skpicture_content_layer_updater.cc
@@ -6,6 +6,7 @@
#include "base/time.h"
#include "cc/layer_painter.h"
+#include "cc/prioritized_resource.h"
#include "cc/rendering_stats.h"
#include "cc/resource_update_queue.h"
#include "third_party/skia/include/core/SkCanvas.h"