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

Unified Diff: tools/grit/grit/format/html_inline.py

Issue 2337253002: Remove minification spam (Closed)
Patch Set: Respond to comments Created 4 years, 3 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 | tools/grit/grit/format/minifier.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/grit/grit/format/html_inline.py
diff --git a/tools/grit/grit/format/html_inline.py b/tools/grit/grit/format/html_inline.py
index ca1541358d664e5112db2b6b288f0062528c53eb..c18fd7739ab489dfc9b37e840b9096289aeea4fd 100755
--- a/tools/grit/grit/format/html_inline.py
+++ b/tools/grit/grit/format/html_inline.py
@@ -343,8 +343,7 @@ def DoInline(
if not preprocess_only:
if strip_whitespace:
- flat_text = minifier.Minify(flat_text,
- os.path.splitext(input_filename)[1])
+ flat_text = minifier.Minify(flat_text, input_filename)
if not allow_external_script:
# We need to inline css and js before we inline images so that image
« no previous file with comments | « no previous file | tools/grit/grit/format/minifier.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698