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

Unified Diff: third_party/WebKit/Source/core/html/MediaError.h

Issue 1740483004: Rename enums/functions that collide in chromium style in core/html/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-5
Patch Set: get-names-6: . 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/html/MediaError.h
diff --git a/third_party/WebKit/Source/core/html/MediaError.h b/third_party/WebKit/Source/core/html/MediaError.h
index 65bcb0ff959b96b9c659bf347e7abe6bc15bf43f..520488595279495a2b8bc36cacd47054d0add2ba 100644
--- a/third_party/WebKit/Source/core/html/MediaError.h
+++ b/third_party/WebKit/Source/core/html/MediaError.h
@@ -35,26 +35,26 @@ namespace blink {
class CORE_EXPORT MediaError final : public GarbageCollected<MediaError>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
- enum Code {
+ enum ErrorCode {
MEDIA_ERR_ABORTED = 1,
MEDIA_ERR_NETWORK,
MEDIA_ERR_DECODE,
MEDIA_ERR_SRC_NOT_SUPPORTED,
};
- static MediaError* create(Code code)
+ static MediaError* create(ErrorCode code)
{
return new MediaError(code);
}
- Code code() const { return m_code; }
+ ErrorCode code() const { return m_code; }
DEFINE_INLINE_TRACE() { }
private:
- MediaError(Code code) : m_code(code) { }
+ MediaError(ErrorCode code) : m_code(code) { }
- Code m_code;
+ ErrorCode m_code;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/html/LinkResource.h ('k') | third_party/WebKit/Source/core/html/imports/LinkImport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698