Index: chrome/browser/resources/chromeos/login/html-echo.js |
diff --git a/chrome/browser/resources/chromeos/login/html-echo.js b/chrome/browser/resources/chromeos/login/html-echo.js |
index 492dd25e3ef15724f1c52fbcee17b52fff64295b..25821c86bb3a2df5af61ebc6fbc5001adf2b9d02 100644 |
--- a/chrome/browser/resources/chromeos/login/html-echo.js |
+++ b/chrome/browser/resources/chromeos/login/html-echo.js |
@@ -2,8 +2,17 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-Polymer('html-echo', { |
- contentChanged: function() { |
- this.innerHTML = this.content; |
+Polymer({ |
+ is: 'html-echo', |
+ |
+ properties: { |
+ content: { |
+ type: String, |
+ observer: 'contentChanged_' |
+ } |
+ }, |
+ |
+ contentChanged_: function(content) { |
+ this.innerHTML = content; |
} |
}); |