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

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

Issue 843683005: Fix a bit of C++11 in web/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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
Index: Source/web/tests/WebFrameTest.cpp
diff --git a/Source/web/tests/WebFrameTest.cpp b/Source/web/tests/WebFrameTest.cpp
index 43879ee036aa77e22b87293339182e8bdab89fbe..ca45135fe04c08f4b8f00f9a8aafd7fe43d478d5 100644
--- a/Source/web/tests/WebFrameTest.cpp
+++ b/Source/web/tests/WebFrameTest.cpp
@@ -374,7 +374,7 @@ public:
CSSCallbackWebFrameClient() : m_updateCount(0) { }
virtual void didMatchCSS(WebLocalFrame*, const WebVector<WebString>& newlyMatchingSelectors, const WebVector<WebString>& stoppedMatchingSelectors) override;
- std::map<WebLocalFrame*, std::set<std::string> > m_matchedSelectors;
+ std::map<WebLocalFrame*, std::set<std::string>> m_matchedSelectors;
int m_updateCount;
};
@@ -398,7 +398,6 @@ class WebFrameCSSCallbackTest : public testing::Test {
protected:
WebFrameCSSCallbackTest()
{
-
m_frame = m_helper.initializeAndLoad("about:blank", true, &m_client)->mainFrame()->toWebLocalFrame();
}
@@ -5914,7 +5913,7 @@ public:
TestHistoryWebFrameClient()
{
m_replacesCurrentHistoryItem = false;
- m_frame = 0;
+ m_frame = nullptr;
}
void didStartProvisionalLoad(WebLocalFrame* frame, bool isTransitionNavigation, double)

Powered by Google App Engine
This is Rietveld 408576698