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

Unified Diff: Source/web/tests/WebFrameTest.cpp

Issue 23506013: Make the embedder responsible for creating the WebFrame (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix style Created 7 years, 3 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: Source/web/tests/WebFrameTest.cpp
diff --git a/Source/web/tests/WebFrameTest.cpp b/Source/web/tests/WebFrameTest.cpp
index 37d4f7efab0f4638a0e830bf2ac87dbef1ef4ed7..db16d44269c2aa677d7739688a7296f61693ca07 100644
--- a/Source/web/tests/WebFrameTest.cpp
+++ b/Source/web/tests/WebFrameTest.cpp
@@ -2006,11 +2006,14 @@ public:
{
}
- virtual void didCreateFrame(WebFrame* parent, WebFrame* child)
+ virtual WebFrame* didCreateFrame(WebString name)
{
m_frameCount++;
+ /*
if (!m_parent)
m_parent = parent;
+ */
+ return 0;
}
int m_frameCount;
« no previous file with comments | « Source/web/WebFrameImpl.cpp ('k') | public/web/WebFrame.h » ('j') | public/web/WebFrameClient.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698