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 76% |
copy from ui/keyboard/resources/polymer_loader.js |
copy to chrome/browser/resources/pdf/polymer_loader.js |
index f39ea61fae2b70d90f16aff151fc8bf6fc656f06..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.js"></include> |
-<include src="../../../third_party/polymer/polymer.js"></include> |
+<include src="../../../../third_party/polymer/platform/platform.js"></include> |
+})(); |