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

Unified Diff: tools/dom/scripts/htmldartgenerator.py

Issue 1752983003: Moved ChromiumSubscribeUniform to web_gl (Closed) Base URL: git@github.com:dart-lang/sdk.git@integration
Patch Set: Merged from integration to master 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
« no previous file with comments | « tools/dom/scripts/databasebuilder.py ('k') | tools/dom/scripts/htmlrenamer.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/htmldartgenerator.py
diff --git a/tools/dom/scripts/htmldartgenerator.py b/tools/dom/scripts/htmldartgenerator.py
index c944fc3e99e9ea11ac064f3078d5807e8e2b14ed..8e62fac21a51afdfd1f67f41c52815fbb15669a8 100644
--- a/tools/dom/scripts/htmldartgenerator.py
+++ b/tools/dom/scripts/htmldartgenerator.py
@@ -37,7 +37,7 @@ _custom_factories = [
]
class HtmlDartGenerator(object):
- def __init__(self, interface, options, dart_use_blink):
+ def __init__(self, interface, options, dart_use_blink, logger):
self._dart_use_blink = dart_use_blink
self._database = options.database
self._interface = interface
@@ -46,6 +46,7 @@ class HtmlDartGenerator(object):
self._renamer = options.renamer
self._metadata = options.metadata
self._library_name = self._renamer.GetLibraryName(self._interface)
+ _logger.setLevel(logger.level)
def EmitSupportCheck(self):
if self.HasSupportCheck():
@@ -252,7 +253,7 @@ class HtmlDartGenerator(object):
operation.id != '__getter__' and
operation.id != '__setter__' and
operation.id != '__delete__'):
- _logger.error('Multiple type signatures for %s.%s. Please file a bug with'
+ _logger.warn('Multiple type signatures for %s.%s. Please file a bug with'
' the dart:html team to determine if one of these functions should be'
' renamed.' % (
interface.id, operation.id))
« no previous file with comments | « tools/dom/scripts/databasebuilder.py ('k') | tools/dom/scripts/htmlrenamer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698