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

Unified Diff: third_party/WebKit/Source/core/fetch/DocumentResource.cpp

Issue 1738623004: Rename enums/functions that collide in chromium style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-4
Patch Set: get-names-5: rebase-and-stuff Created 4 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
Index: third_party/WebKit/Source/core/fetch/DocumentResource.cpp
diff --git a/third_party/WebKit/Source/core/fetch/DocumentResource.cpp b/third_party/WebKit/Source/core/fetch/DocumentResource.cpp
index d076e1ad6b38d9a33360100f2e9760fb45edfc03..191fa6e27bea8cd5d748daea3054417ea668a04b 100644
--- a/third_party/WebKit/Source/core/fetch/DocumentResource.cpp
+++ b/third_party/WebKit/Source/core/fetch/DocumentResource.cpp
@@ -80,7 +80,7 @@ void DocumentResource::checkNotify()
bool DocumentResource::mimeTypeAllowed() const
{
- ASSERT(type() == SVGDocument);
+ ASSERT(getType() == SVGDocument);
AtomicString mimeType = response().mimeType();
if (response().isHTTP())
mimeType = httpContentType();
@@ -92,7 +92,7 @@ bool DocumentResource::mimeTypeAllowed() const
PassRefPtrWillBeRawPtr<Document> DocumentResource::createDocument(const KURL& url)
{
- switch (type()) {
+ switch (getType()) {
case SVGDocument:
return XMLDocument::createSVG(DocumentInit(url));
default:
« no previous file with comments | « third_party/WebKit/Source/core/fetch/DocumentResource.h ('k') | third_party/WebKit/Source/core/fetch/FetchContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698