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

Unified Diff: third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp

Issue 1447563002: Implement frame attribution (FrameBlamer) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make sure blame context is initialized early enough Created 4 years, 9 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/web/FrameLoaderClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
index 0da00121826741a4ec3cc7479b9128cbd18437fe..94e47ccf3db0379beed73d3c42f29f733861c3e0 100644
--- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
+++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
@@ -1049,6 +1049,13 @@ void FrameLoaderClientImpl::suddenTerminationDisablerChanged(bool present, Sudde
}
}
+BlameContext* FrameLoaderClientImpl::frameBlameContext()
+{
+ if (!m_webFrame->client())
+ return nullptr;
+ return m_webFrame->client()->frameBlameContext();
+}
+
PassOwnPtrWillBeRawPtr<LinkResource> FrameLoaderClientImpl::createServiceWorkerLinkResource(HTMLLinkElement* owner)
{
return ServiceWorkerLinkResource::create(owner);
« no previous file with comments | « third_party/WebKit/Source/web/FrameLoaderClientImpl.h ('k') | third_party/WebKit/public/platform/BlameContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698