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

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

Issue 138743008: Make sure the root node of selector queries is a ContainerNode (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 11 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
« no previous file with comments | « Source/web/WebNode.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/TouchActionTest.cpp
diff --git a/Source/web/tests/TouchActionTest.cpp b/Source/web/tests/TouchActionTest.cpp
index 695d18a9193bfeecf8ef69726906bcea94f1905f..ef4be340f613b36c9589ac3fd839d944f9902e7d 100755
--- a/Source/web/tests/TouchActionTest.cpp
+++ b/Source/web/tests/TouchActionTest.cpp
@@ -121,7 +121,7 @@ protected:
void runShadowDOMTest(std::string file);
void sendTouchEvent(WebView*, WebInputEvent::Type, WebCore::IntPoint clientPoint);
WebView* setupTest(std::string file, TouchActionTrackingWebViewClient&);
- void runTestOnTree(WebCore::Node* root, WebView*, TouchActionTrackingWebViewClient&);
+ void runTestOnTree(WebCore::ContainerNode* root, WebView*, TouchActionTrackingWebViewClient&);
std::string m_baseURL;
FrameTestHelpers::WebViewHelper m_webViewHelper;
@@ -175,7 +175,7 @@ WebView* TouchActionTest::setupTest(std::string file, TouchActionTrackingWebView
return webView;
}
-void TouchActionTest::runTestOnTree(WebCore::Node* root, WebView* webView, TouchActionTrackingWebViewClient& client)
+void TouchActionTest::runTestOnTree(WebCore::ContainerNode* root, WebView* webView, TouchActionTrackingWebViewClient& client)
{
// Find all elements to test the touch-action of in the document.
WebCore::TrackExceptionState es;
« no previous file with comments | « Source/web/WebNode.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698