Index: third_party/WebKit/Source/core/dom/ExecutionContext.cpp |
diff --git a/third_party/WebKit/Source/core/dom/ExecutionContext.cpp b/third_party/WebKit/Source/core/dom/ExecutionContext.cpp |
index d7c503225059fccf0644153f1f681e25d157055f..cfc5fc79d50f23ce824f157d86067045a9ba7c3d 100644 |
--- a/third_party/WebKit/Source/core/dom/ExecutionContext.cpp |
+++ b/third_party/WebKit/Source/core/dom/ExecutionContext.cpp |
@@ -76,6 +76,7 @@ ExecutionContext::ExecutionContext() |
, m_windowInteractionTokens(0) |
, m_isRunSuspendableTasksScheduled(false) |
, m_referrerPolicy(ReferrerPolicyDefault) |
+ , m_serviceProvider(nullptr) |
{ |
} |
@@ -274,6 +275,11 @@ void ExecutionContext::setReferrerPolicy(ReferrerPolicy referrerPolicy) |
m_referrerPolicy = referrerPolicy; |
} |
+void ExecutionContext::setServiceProvider(mojo::ServiceProvider* serviceProvider) |
+{ |
+ m_serviceProvider = serviceProvider; |
+} |
+ |
void ExecutionContext::removeURLFromMemoryCache(const KURL& url) |
{ |
memoryCache()->removeURLFromCache(url); |