Index: chrome/browser/resources/pdf/polymer_loader.js |
diff --git a/ui/keyboard/resources/polymer_loader.js b/chrome/browser/resources/pdf/polymer_loader.js |
similarity index 74% |
copy from ui/keyboard/resources/polymer_loader.js |
copy to chrome/browser/resources/pdf/polymer_loader.js |
index 38a6280dc68abfdf6f7ce89cecfbb08abb021dfd..6efe6a82ffe56133397666e02e5b1ae1590533d0 100644 |
--- a/ui/keyboard/resources/polymer_loader.js |
+++ b/chrome/browser/resources/pdf/polymer_loader.js |
@@ -2,10 +2,11 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+(function() { |
// This is necessary because polymer currently doesn't handle the configuration |
// where native Custom Elements are available but native Shadow DOM is not. |
// TODO(bshe): remove this line when polymer supports the configuration. |
document.register = undefined; |
-<include src="../../../third_party/polymer/platform/platform.js"></include> |
-<include src="../../../third_party/polymer/polymer/polymer.js"></include> |
+<include src="../../../../third_party/polymer/platform/platform.js"></include> |
+})(); |