Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1532)

Unified Diff: cc/content_layer.cc

Issue 11794019: Avoid exposing gl bindings through cc public API headers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/caching_bitmap_content_layer_updater.cc ('k') | cc/content_layer_updater.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/content_layer.cc
diff --git a/cc/content_layer.cc b/cc/content_layer.cc
index df6ae8826d44399d2cf270bb6e6d0d41b5efbe8f..a0ddc89515e484158182c89937e21914f400a27e 100644
--- a/cc/content_layer.cc
+++ b/cc/content_layer.cc
@@ -104,7 +104,7 @@ void ContentLayer::createUpdaterIfNeeded()
m_updater = BitmapContentLayerUpdater::create(painter.Pass());
m_updater->setOpaque(contentsOpaque());
- GLenum textureFormat = layerTreeHost()->rendererCapabilities().bestTextureFormat;
+ unsigned textureFormat = layerTreeHost()->rendererCapabilities().bestTextureFormat;
setTextureFormat(textureFormat);
}
« no previous file with comments | « cc/caching_bitmap_content_layer_updater.cc ('k') | cc/content_layer_updater.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698