Index: chrome/browser/resources/print_preview/print_preview.js |
diff --git a/chrome/browser/resources/print_preview/print_preview.js b/chrome/browser/resources/print_preview/print_preview.js |
index 3f083e09eb0dc9e16bd7e3060bfb973dc1924c3f..471d2a3d74e5115404277a25c4481d7c80ea658d 100644 |
--- a/chrome/browser/resources/print_preview/print_preview.js |
+++ b/chrome/browser/resources/print_preview/print_preview.js |
@@ -724,15 +724,14 @@ cr.define('print_preview', function() { |
this.metrics_.incrementDestinationSearchBucket( |
print_preview.Metrics.DestinationSearchBucket.CANCELED); |
} else { |
- // <if expr="pp_ifdef('toolkit_views')"> |
+ <if expr="toolkit_views"> |
// On the toolkit_views environment, ESC key is handled by C++-side |
// instead of JS-side. |
return; |
- // </if> |
- // <if expr="not pp_ifdef('toolkit_views')"> |
- // Dummy comment to absorb previous line's comment symbol. |
+ </if> |
+ <if expr="not toolkit_views"> |
this.close_(); |
- // </if> |
+ </if> |
} |
e.preventDefault(); |
return; |