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

Unified Diff: third_party/WebKit/Source/web/tests/DocumentLoaderTest.cpp

Issue 2151933003: Change WTF::TemporaryChange to be an alias for AutoReset (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/web/tests/DocumentLoaderTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/DocumentLoaderTest.cpp b/third_party/WebKit/Source/web/tests/DocumentLoaderTest.cpp
index 85878a760aa8502d8a71a9c3c0ce5bb8af4aa327..e4753b057710233cf0501d5ee4fa65cb3a0c8f08 100644
--- a/third_party/WebKit/Source/web/tests/DocumentLoaderTest.cpp
+++ b/third_party/WebKit/Source/web/tests/DocumentLoaderTest.cpp
@@ -108,7 +108,7 @@ TEST_F(DocumentLoaderTest, MultiChunkWithReentrancy)
// Serve the first byte to the real WebURLLoaderCLient, which
// should trigger frameDetach() due to committing a provisional
// load.
- TemporaryChange<bool> dispatching(m_dispatchingDidReceiveData, true);
+ TemporaryChange<bool> dispatching(&m_dispatchingDidReceiveData, true);
dispatchOneByte();
}
// Serve the remaining bytes to complete the load.

Powered by Google App Engine
This is Rietveld 408576698