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

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

Issue 2720213002: Removed FrameHost::deprecation() (Closed)
Patch Set: Created 3 years, 10 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/UseCounterTest.cpp
diff --git a/third_party/WebKit/Source/core/frame/UseCounterTest.cpp b/third_party/WebKit/Source/core/frame/UseCounterTest.cpp
index 6db3efa66c6950eb0f032698c32d1cdd15168eb5..6d4a582b88b80b884be49791f3432eb672023ec3 100644
--- a/third_party/WebKit/Source/core/frame/UseCounterTest.cpp
+++ b/third_party/WebKit/Source/core/frame/UseCounterTest.cpp
@@ -3,8 +3,8 @@
// found in the LICENSE file.
#include "core/frame/Deprecation.h"
-#include "core/frame/FrameHost.h"
#include "core/frame/UseCounter.h"
+#include "core/page/Page.h"
#include "core/testing/DummyPageHolder.h"
#include "platform/testing/HistogramTester.h"
#include "platform/testing/URLTestHelpers.h"
@@ -352,8 +352,8 @@ class DeprecationTest : public ::testing::Test {
public:
DeprecationTest()
: m_dummy(DummyPageHolder::create()),
- m_deprecation(m_dummy->page().frameHost().deprecation()),
- m_useCounter(m_dummy->page().frameHost().useCounter()) {}
+ m_deprecation(m_dummy->page().deprecation()),
+ m_useCounter(m_dummy->page().useCounter()) {}
protected:
LocalFrame* frame() { return &m_dummy->frame(); }
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameHost.cpp ('k') | third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698