Chromium Code Reviews| 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..b531b1f4c17881c6a643190a9d6f2596c19236f2 100644 |
| --- a/third_party/WebKit/Source/platform/exported/Platform.cpp |
| +++ b/third_party/WebKit/Source/platform/exported/Platform.cpp |
| @@ -28,6 +28,7 @@ |
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| */ |
| +#include "platform/CompositorFactory.h" |
| #include "platform/PartitionAllocMemoryDumpProvider.h" |
| #include "public/platform/Platform.h" |
| @@ -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(); |
|
jbroman
2016/01/29 15:29:18
Since this factory is no longer exposed outside Bl
loyso (OOO)
2016/02/01 05:31:32
It's still a part of the platform, though. Neverth
|
| } |
| void Platform::shutdown() |
| { |
| + CompositorFactory::shutdown(); |
| + |
| if (s_platform->m_mainThread) |
| s_platform->unregisterMemoryDumpProvider(PartitionAllocMemoryDumpProvider::instance()); |