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

Unified Diff: webkit/support/test_webkit_platform_support.cc

Issue 12090108: Revert 179967 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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 | « webkit/support/test_webkit_platform_support.h ('k') | webkit/support/webkit_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/support/test_webkit_platform_support.cc
===================================================================
--- webkit/support/test_webkit_platform_support.cc (revision 180016)
+++ webkit/support/test_webkit_platform_support.cc (working copy)
@@ -405,9 +405,7 @@
};
WebKit::WebIDBFactory* TestWebKitPlatformSupport::idbFactory() {
- if (!idb_factory_)
- idb_factory_.reset(new TestWebIDBFactory());
- return idb_factory_.get();
+ return new TestWebIDBFactory();
}
#if defined(OS_WIN) || defined(OS_MACOSX)
@@ -613,7 +611,3 @@
// Caller will retain and release.
return new WebGestureCurveMock(velocity, cumulative_scroll);
}
-
-void TestWebKitPlatformSupport::ResetIDBFactory() {
- idb_factory_.reset();
-}
« no previous file with comments | « webkit/support/test_webkit_platform_support.h ('k') | webkit/support/webkit_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698