Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: test/ConsoleJsObject.cpp

Issue 4949583905947648: Issue 1280 - Update v8, the second part (Closed)
Patch Set: Created Oct. 27, 2014, 10:01 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/WebRequestJsObject.cpp ('k') | test/JsEngine.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/ConsoleJsObject.cpp
===================================================================
--- a/test/ConsoleJsObject.cpp
+++ b/test/ConsoleJsObject.cpp
@@ -35,17 +35,15 @@
}
};
- typedef std::tr1::shared_ptr<MockLogSystem> MockLogSystemPtr;
-
class ConsoleJsObjectTest : public BaseJsTest
{
protected:
- MockLogSystemPtr mockLogSystem;
+ std::shared_ptr<MockLogSystem> mockLogSystem;
- void SetUp()
+ void SetUp() override
{
BaseJsTest::SetUp();
- mockLogSystem = MockLogSystemPtr(new MockLogSystem);
+ mockLogSystem = std::make_shared<MockLogSystem>();
jsEngine->SetLogSystem(mockLogSystem);
}
};
« no previous file with comments | « src/WebRequestJsObject.cpp ('k') | test/JsEngine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld