Index: third_party/WebKit/Source/modules/quota/StorageManager.cpp |
diff --git a/third_party/WebKit/Source/modules/quota/StorageManager.cpp b/third_party/WebKit/Source/modules/quota/StorageManager.cpp |
index c9fa79f7b2355ebe8d9fd050148ad7c9c1e56f4d..f0716138a56cda64a5b65fa0d160e5eaec9d185e 100644 |
--- a/third_party/WebKit/Source/modules/quota/StorageManager.cpp |
+++ b/third_party/WebKit/Source/modules/quota/StorageManager.cpp |
@@ -150,6 +150,11 @@ PermissionService* StorageManager::getPermissionService( |
} |
void StorageManager::permissionServiceConnectionError() { |
+ if (!Platform::current()) { |
+ // TODO(rockot): Clean this up once renderer shutdown sequence is fixed. |
+ return; |
+ } |
+ |
m_permissionService.reset(); |
} |