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

Unified Diff: content/renderer/gpu/render_widget_compositor.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
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.h ('k') | ui/compositor/compositor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/render_widget_compositor.cc
diff --git a/content/renderer/gpu/render_widget_compositor.cc b/content/renderer/gpu/render_widget_compositor.cc
index 066f6e057f404ae0f60fd4ad5e098880103a584f..d43ea6bc367d981a266006262ebd5f6d067a50f9 100644
--- a/content/renderer/gpu/render_widget_compositor.cc
+++ b/content/renderer/gpu/render_widget_compositor.cc
@@ -8,7 +8,6 @@
#include "base/logging.h"
#include "base/string_number_conversions.h"
#include "base/time.h"
-#include "cc/font_atlas.h"
#include "cc/layer.h"
#include "cc/layer_tree_debug_state.h"
#include "cc/layer_tree_host.h"
@@ -379,18 +378,4 @@ void RenderWidgetCompositor::scheduleComposite() {
client_->scheduleComposite();
}
-scoped_ptr<cc::FontAtlas> RenderWidgetCompositor::createFontAtlas() {
- int font_height;
- WebRect ascii_to_web_rect_table[128];
- gfx::Rect ascii_to_rect_table[128];
- SkBitmap bitmap;
-
- client_->createFontAtlas(bitmap, ascii_to_web_rect_table, font_height);
-
- for (int i = 0; i < 128; ++i)
- ascii_to_rect_table[i] = ascii_to_web_rect_table[i];
-
- return cc::FontAtlas::create(bitmap, ascii_to_rect_table, font_height).Pass();
-}
-
} // namespace content
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.h ('k') | ui/compositor/compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698