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()); |