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

Unified Diff: Source/core/fetch/Resource.cpp

Issue 1115553002: Removing blink::prefix (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 8 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 | « Source/core/fetch/MockImageResourceClient.h ('k') | Source/core/fetch/ResourceFetcher.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/Resource.cpp
diff --git a/Source/core/fetch/Resource.cpp b/Source/core/fetch/Resource.cpp
index 88af7a4fd130cf66431cdf7d8cb7680634637565..0bcbf40786b99f726771b57288aecbcaec5befb3 100644
--- a/Source/core/fetch/Resource.cpp
+++ b/Source/core/fetch/Resource.cpp
@@ -489,7 +489,7 @@ void Resource::setCachedMetadata(unsigned dataTypeID, const char* data, size_t s
// a ServiceWorker. https://crbug.com/448706
if (cacheType == CachedMetadataHandler::SendToPlatform && !m_response.wasFetchedViaServiceWorker()) {
const Vector<char>& serializedData = m_cachedMetadata->serialize();
- blink::Platform::current()->cacheMetadata(m_response.url(), m_response.responseTime(), serializedData.data(), serializedData.size());
+ Platform::current()->cacheMetadata(m_response.url(), m_response.responseTime(), serializedData.data(), serializedData.size());
}
}
@@ -498,7 +498,7 @@ void Resource::clearCachedMetadata(CachedMetadataHandler::CacheType cacheType)
m_cachedMetadata.clear();
if (cacheType == CachedMetadataHandler::SendToPlatform)
- blink::Platform::current()->cacheMetadata(m_response.url(), m_response.responseTime(), 0, 0);
+ Platform::current()->cacheMetadata(m_response.url(), m_response.responseTime(), 0, 0);
}
bool Resource::canDelete() const
@@ -1081,4 +1081,4 @@ const char* ResourceTypeName(Resource::Type type)
}
#endif // !LOG_DISABLED
-}
+} // namespace blink
« no previous file with comments | « Source/core/fetch/MockImageResourceClient.h ('k') | Source/core/fetch/ResourceFetcher.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698