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

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

Issue 1830883002: Add blink::ServiceRegistry and expose it from LocalFrame and Platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 fc1be64c0e13c2823212981e194de96d581722d6..7fb6e41aae2f6008ecc15c0c7c1ba5c1fe7c3836 100644
--- a/third_party/WebKit/Source/platform/exported/Platform.cpp
+++ b/third_party/WebKit/Source/platform/exported/Platform.cpp
@@ -37,6 +37,7 @@
#include "platform/heap/GCTaskRunner.h"
#include "platform/web_memory_dump_provider_adapter.h"
#include "public/platform/Platform.h"
+#include "public/platform/ServiceRegistry.h"
#include "public/platform/WebPrerenderingSupport.h"
#include "wtf/HashMap.h"
#include "wtf/OwnPtr.h"
@@ -177,4 +178,9 @@ void Platform::unregisterMemoryDumpProvider(WebMemoryDumpProvider* provider)
memoryDumpProviders().remove(it);
}
+ServiceRegistry* Platform::serviceRegistry()
+{
+ return ServiceRegistry::getEmptyServiceRegistry();
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698