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

Unified Diff: webkit/compositor_bindings/web_layer_tree_view_impl.cc

Issue 12212099: cc: remove FontAtlas (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase to 182043 Created 7 years, 10 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
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 d2c8da314a7c3855dbc2332b33a98b1602d50b44..dba117c88ac00bc2e40cca90f63d154ffc1856a6 100644
--- a/webkit/compositor_bindings/web_layer_tree_view_impl.cc
+++ b/webkit/compositor_bindings/web_layer_tree_view_impl.cc
@@ -6,7 +6,6 @@
#include "base/command_line.h"
#include "base/string_number_conversions.h"
-#include "cc/font_atlas.h"
#include "cc/input_handler.h"
#include "cc/layer.h"
#include "cc/layer_tree_host.h"
@@ -214,21 +213,6 @@ void WebLayerTreeViewImpl::setContinuousPaintingEnabled(bool enabled)
m_layerTreeHost->setDebugState(debugState);
}
-scoped_ptr<FontAtlas> WebLayerTreeViewImpl::createFontAtlas()
-{
- int fontHeight;
- WebRect asciiToWebRectTable[128];
- gfx::Rect asciiToRectTable[128];
- SkBitmap bitmap;
-
- m_client->createFontAtlas(bitmap, asciiToWebRectTable, fontHeight);
-
- for (int i = 0; i < 128; ++i)
- asciiToRectTable[i] = asciiToWebRectTable[i];
-
- return FontAtlas::create(bitmap, asciiToRectTable, fontHeight).Pass();
-}
-
void WebLayerTreeViewImpl::willBeginFrame()
{
m_client->willBeginFrame();

Powered by Google App Engine
This is Rietveld 408576698