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

Unified Diff: third_party/WebKit/Source/platform/exported/Platform.cpp

Issue 1616653002: CC Animation: Move files from cc_blink to Source/platform/animation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Fix copyrights and years. Created 4 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: third_party/WebKit/Source/platform/exported/Platform.cpp
diff --git a/third_party/WebKit/Source/platform/exported/Platform.cpp b/third_party/WebKit/Source/platform/exported/Platform.cpp
index 11e174491a19f7d277edc1076d4f1c2dada86205..451fe7bb7b811df1a629f19e2e94e3ea03e79792 100644
--- a/third_party/WebKit/Source/platform/exported/Platform.cpp
+++ b/third_party/WebKit/Source/platform/exported/Platform.cpp
@@ -29,6 +29,7 @@
*/
#include "platform/PartitionAllocMemoryDumpProvider.h"
+#include "platform/graphics/CompositorFactory.h"
#include "public/platform/Platform.h"
namespace blink {
@@ -49,10 +50,14 @@ void Platform::initialize(Platform* platform)
// TODO(ssid): remove this check after fixing crbug.com/486782.
if (s_platform && s_platform->m_mainThread)
s_platform->registerMemoryDumpProvider(PartitionAllocMemoryDumpProvider::instance(), "PartitionAlloc");
+
+ CompositorFactory::initializeDefault();
}
void Platform::shutdown()
{
+ CompositorFactory::shutdown();
+
if (s_platform->m_mainThread)
s_platform->unregisterMemoryDumpProvider(PartitionAllocMemoryDumpProvider::instance());

Powered by Google App Engine
This is Rietveld 408576698