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

Unified Diff: lib/dom/scripts/systemnative.py

Issue 10657045: Sort includes to follow WebKit style. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/scripts/systemnative.py
diff --git a/lib/dom/scripts/systemnative.py b/lib/dom/scripts/systemnative.py
index 7035599f49d23e38b803560364416d87c0f992c1..2515b9622cb20d62afdf1b6ef947fe62203773fa 100644
--- a/lib/dom/scripts/systemnative.py
+++ b/lib/dom/scripts/systemnative.py
@@ -1060,7 +1060,7 @@ class NativeImplementationGenerator(systembase.BaseGenerator):
def _GenerateCPPIncludes(includes):
- return ''.join(['#include %s\n' % include for include in includes])
+ return ''.join(['#include %s\n' % include for include in sorted(includes)])
def _DOMWrapperType(database, interface):
if interface.id == 'MessagePort':
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698