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

Unified Diff: ios/chrome/browser/tabs/tab_model_unittest.mm

Issue 2726713002: Allow creation of CRWSessionStorage outside of serialisation API. (Closed)
Patch Set: Rebase. Created 3 years, 10 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 | « no previous file | ios/web/navigation/serializable_user_data_manager_impl.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/tabs/tab_model_unittest.mm
diff --git a/ios/chrome/browser/tabs/tab_model_unittest.mm b/ios/chrome/browser/tabs/tab_model_unittest.mm
index 2f4bb27ddbe062e4a8625d91211d7f068d3e8041..6ec04bc6783b53b025e10d7d01b70fcdf27e71fc 100644
--- a/ios/chrome/browser/tabs/tab_model_unittest.mm
+++ b/ios/chrome/browser/tabs/tab_model_unittest.mm
@@ -24,6 +24,7 @@
#include "ios/chrome/test/ios_chrome_scoped_testing_chrome_browser_state_manager.h"
#import "ios/web/navigation/crw_session_controller.h"
#import "ios/web/navigation/navigation_manager_impl.h"
+#import "ios/web/public/crw_session_storage.h"
#import "ios/web/public/navigation_manager.h"
#include "ios/web/public/referrer.h"
#import "ios/web/public/serializable_user_data_manager.h"
@@ -151,7 +152,7 @@ class TabModelTest : public PlatformTest {
SessionWindowIOS* window = [[SessionWindowIOS alloc] init];
for (int i = 0; i < entries; i++) {
CRWSessionStorage* session_storage =
- CreateWebState()->BuildSessionStorage();
+ [[[CRWSessionStorage alloc] init] autorelease];
[window addSerializedSessionStorage:session_storage];
}
if (entries)
« no previous file with comments | « no previous file | ios/web/navigation/serializable_user_data_manager_impl.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698