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

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 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 aab75f75f9c939b780a973889aa8041dcfd10c7e..a87f1a6c28478f38544e52febfbec7125e964317 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()
PassRefPtrWillBeRawPtr<Document> DocumentResource::createDocument(const KURL& url)
{
- switch (type()) {
+ switch (getType()) {
case SVGDocument:
return XMLDocument::createSVG(DocumentInit(url));
default:

Powered by Google App Engine
This is Rietveld 408576698