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

Unified Diff: webkit/compositor_bindings/web_layer_tree_view_impl.cc

Issue 11312058: Prepare for WebLayerTreeView::setFontAtlas interface change (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 50% more compilation Created 8 years, 1 month 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 | « webkit/compositor_bindings/web_layer_tree_view_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/compositor_bindings/web_layer_tree_view_impl.cc
diff --git a/webkit/compositor_bindings/web_layer_tree_view_impl.cc b/webkit/compositor_bindings/web_layer_tree_view_impl.cc
index 742ad116ef5a946e7214257704ec495e5efed008..9f3e8935c9c455984f1bf628e2ace8d613463234 100644
--- a/webkit/compositor_bindings/web_layer_tree_view_impl.cc
+++ b/webkit/compositor_bindings/web_layer_tree_view_impl.cc
@@ -193,7 +193,11 @@ void WebLayerTreeViewImpl::renderingStats(WebRenderingStats& stats) const
stats.numMainThreadScrolls = ccStats.numMainThreadScrolls;
}
-void WebLayerTreeViewImpl::setFontAtlas(SkBitmap bitmap, WebRect asciiToWebRectTable[128], int fontHeight)
+void WebLayerTreeViewImpl::setFontAtlas(SkBitmap bitmap, WebRect asciiToWebRectTable[128], int fontHeight) {
+ setFontAtlas(asciiToWebRectTable, bitmap, fontHeight);
+}
+
+void WebLayerTreeViewImpl::setFontAtlas(WebRect asciiToWebRectTable[128], const SkBitmap& bitmap, int fontHeight)
{
gfx::Rect asciiToRectTable[128];
for (int i = 0; i < 128; ++i)
« no previous file with comments | « webkit/compositor_bindings/web_layer_tree_view_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698