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 259bd39b839e5c2aff82080b3d0a66e19db0c410..d6199ef2dd4df416782b878cdea326436769c656 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.registerElement = 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> |
+})(); |