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

Unified Diff: chrome/browser/extensions/data_deleter.cc

Issue 385443002: Fixes for re-enabling more MSVC level 4 warnings: misc edition #1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Build fix, take 3 Created 6 years, 5 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
Index: chrome/browser/extensions/data_deleter.cc
diff --git a/chrome/browser/extensions/data_deleter.cc b/chrome/browser/extensions/data_deleter.cc
index 9d8ffb715a1881bcb3b1ff434d8c97ddfa6c7f51..b28e7b29711d73fd763fcd5175fc18b4cdc32e15 100644
--- a/chrome/browser/extensions/data_deleter.cc
+++ b/chrome/browser/extensions/data_deleter.cc
@@ -53,8 +53,7 @@ void DeleteOrigin(Profile* profile,
// simpler than special casing. This code should go away once we merge
// the various URLRequestContexts (http://crbug.com/159193).
partition->ClearDataForOrigin(
- StoragePartition::REMOVE_DATA_MASK_ALL &
- (~StoragePartition::REMOVE_DATA_MASK_SHADER_CACHE),
+ ~StoragePartition::REMOVE_DATA_MASK_SHADER_CACHE,
StoragePartition::QUOTA_MANAGED_STORAGE_MASK_ALL,
origin,
profile->GetRequestContextForExtensions());
@@ -62,8 +61,7 @@ void DeleteOrigin(Profile* profile,
// We don't need to worry about the media request context because that
// shares the same cookie store as the main request context.
partition->ClearDataForOrigin(
- StoragePartition::REMOVE_DATA_MASK_ALL &
- (~StoragePartition::REMOVE_DATA_MASK_SHADER_CACHE),
+ ~StoragePartition::REMOVE_DATA_MASK_SHADER_CACHE,
StoragePartition::QUOTA_MANAGED_STORAGE_MASK_ALL,
origin,
partition->GetURLRequestContext());
« no previous file with comments | « chrome/browser/browsing_data/browsing_data_remover_unittest.cc ('k') | content/browser/storage_partition_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698