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

Unified Diff: components/html_viewer/global_state.h

Issue 1341073004: Fix bug in shut down of HTMLViewer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge 2 trunk Created 5 years, 3 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 | « components/font_service/public/cpp/font_loader.cc ('k') | components/html_viewer/global_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/global_state.h
diff --git a/components/html_viewer/global_state.h b/components/html_viewer/global_state.h
index 5efa71812db5320079e56cee51d69afd1cee7789..28ee041c6950e1763ee6685a21054e68a8816eaf 100644
--- a/components/html_viewer/global_state.h
+++ b/components/html_viewer/global_state.h
@@ -12,8 +12,13 @@
#include "components/mus/gles2/mojo_gpu_memory_buffer_manager.h"
#include "components/mus/gles2/raster_thread_helper.h"
#include "components/resource_provider/public/cpp/resource_loader.h"
+#include "skia/ext/refptr.h"
#include "ui/gfx/geometry/size.h"
+namespace font_service {
+class FontLoader;
+}
+
namespace mojo {
class ApplicationImpl;
class Shell;
@@ -107,6 +112,10 @@ class GlobalState {
gles2::MojoGpuMemoryBufferManager gpu_memory_buffer_manager_;
scoped_ptr<MediaFactory> media_factory_;
+#if defined(OS_LINUX) && !defined(OS_ANDROID)
+ skia::RefPtr<font_service::FontLoader> font_loader_;
+#endif
+
DISALLOW_COPY_AND_ASSIGN(GlobalState);
};
« no previous file with comments | « components/font_service/public/cpp/font_loader.cc ('k') | components/html_viewer/global_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698