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

Unified Diff: third_party/WebKit/Source/core/frame/LocalFrame.cpp

Issue 1447563002: Implement frame attribution (FrameBlamer) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup. 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/core/frame/LocalFrame.cpp
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.cpp b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
index 96a0d16869d380276ff4d08e52071c5829df4917..f9b82543b905b13d6bbcc8422e9e6ee047d33973 100644
--- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
@@ -79,7 +79,6 @@
#include "platform/text/TextStream.h"
#include "public/platform/WebFrameScheduler.h"
#include "public/platform/WebScreenInfo.h"
-#include "public/platform/WebSecurityOrigin.h"
#include "public/platform/WebViewScheduler.h"
#include "third_party/skia/include/core/SkImage.h"
#include "wtf/PassOwnPtr.h"
@@ -843,7 +842,7 @@ inline LocalFrame::LocalFrame(FrameLoaderClient* client, FrameHost* host, FrameO
WebFrameScheduler* LocalFrame::frameScheduler()
{
if (!m_frameScheduler.get())
- m_frameScheduler = page()->chromeClient().createFrameScheduler();
+ m_frameScheduler = page()->chromeClient().createFrameScheduler(client()->frameBlameContext());
ASSERT(m_frameScheduler.get());
return m_frameScheduler.get();
@@ -859,7 +858,6 @@ void LocalFrame::scheduleVisualUpdateUnlessThrottled()
void LocalFrame::updateSecurityOrigin(SecurityOrigin* origin)
{
script().updateSecurityOrigin(origin);
- frameScheduler()->setFrameOrigin(WebSecurityOrigin(origin));
}
DEFINE_WEAK_IDENTIFIER_MAP(LocalFrame);

Powered by Google App Engine
This is Rietveld 408576698