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

Unified Diff: third_party/WebKit/Source/bindings/scripts/idl_definitions.py

Issue 1901983002: IDL: Merge stringifier/serializer definition from implemented interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: as a test, move defs from TestInterface to TestImplements Created 4 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 | « no previous file | third_party/WebKit/Source/bindings/tests/idls/core/TestImplements.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/scripts/idl_definitions.py
diff --git a/third_party/WebKit/Source/bindings/scripts/idl_definitions.py b/third_party/WebKit/Source/bindings/scripts/idl_definitions.py
index d42069e3196df343b2e3ff6d5d757d8d2e59a417..c66920b0ec4abcfe44f83c693df203b02a6075ce 100644
--- a/third_party/WebKit/Source/bindings/scripts/idl_definitions.py
+++ b/third_party/WebKit/Source/bindings/scripts/idl_definitions.py
@@ -387,6 +387,10 @@ class IdlInterface(object):
self.attributes.extend(other.attributes)
self.constants.extend(other.constants)
self.operations.extend(other.operations)
+ if self.serializer is None:
+ self.serializer = other.serializer
+ if self.stringifier is None:
+ self.stringifier = other.stringifier
class IdlException(IdlInterface):
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/tests/idls/core/TestImplements.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698