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

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

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.h
diff --git a/third_party/WebKit/Source/core/fetch/DocumentResource.h b/third_party/WebKit/Source/core/fetch/DocumentResource.h
index 6543379782cb7ed8c7da23d6c3ef0ce9b3df6874..56c7e83f4d8b9cb8b028da768e6c93053939151b 100644
--- a/third_party/WebKit/Source/core/fetch/DocumentResource.h
+++ b/third_party/WebKit/Source/core/fetch/DocumentResource.h
@@ -67,14 +67,14 @@ private:
OwnPtr<TextResourceDecoder> m_decoder;
};
-DEFINE_TYPE_CASTS(DocumentResource, Resource, resource, resource->type() == Resource::SVGDocument, resource.type() == Resource::SVGDocument); \
+DEFINE_TYPE_CASTS(DocumentResource, Resource, resource, resource->getType() == Resource::SVGDocument, resource.getType() == Resource::SVGDocument); \
inline DocumentResource* toDocumentResource(const RefPtrWillBeRawPtr<Resource>& ptr) { return toDocumentResource(ptr.get()); }
class DocumentResourceClient : public ResourceClient {
public:
~DocumentResourceClient() override {}
- static bool isExpectedType(ResourceClient* client) { return client->resourceClientType() == DocumentType; }
- ResourceClientType resourceClientType() const final { return DocumentType; }
+ static bool isExpectedType(ResourceClient* client) { return client->getResourceClientType() == DocumentType; }
+ ResourceClientType getResourceClientType() const final { return DocumentType; }
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/events/WheelEvent.cpp ('k') | third_party/WebKit/Source/core/fetch/DocumentResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698