| 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..02c3b20c2b5974f0416c7737d613eb0c928491ee 100644
|
| --- a/third_party/WebKit/Source/web/tests/DocumentLoaderTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/DocumentLoaderTest.cpp
|
| @@ -10,7 +10,7 @@
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "web/WebLocalFrameImpl.h"
|
| #include "web/tests/FrameTestHelpers.h"
|
| -#include "wtf/TemporaryChange.h"
|
| +#include "wtf/AutoReset.h"
|
| #include <queue>
|
|
|
| namespace blink {
|
| @@ -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);
|
| + AutoReset<bool> dispatching(&m_dispatchingDidReceiveData, true);
|
| dispatchOneByte();
|
| }
|
| // Serve the remaining bytes to complete the load.
|
|
|