Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2670)

Unified Diff: chrome/browser/resources/policy.js

Issue 1023093003: The PolicyTable decorates <table> so it needs to extend HTMLTableElement (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/policy.js
diff --git a/chrome/browser/resources/policy.js b/chrome/browser/resources/policy.js
index fd58297e8bd7282a9aa4091143b6395f8556e2a5..9178e6592c659691041ae682ef3a666c4c0a40ab 100644
--- a/chrome/browser/resources/policy.js
+++ b/chrome/browser/resources/policy.js
@@ -11,7 +11,7 @@ cr.define('policy', function() {
var isMobilePage = function() {
return document.defaultView.getComputedStyle(document.querySelector(
'.scope-column')).display == 'none';
- }
+ };
/**
* A box that shows the status of cloud policy for a device or user.
@@ -207,13 +207,13 @@ cr.define('policy', function() {
/**
* A table of policies and their values.
* @constructor
- * @extends {HTMLTableSectionElement}
+ * @extends {HTMLTableElement}
*/
var PolicyTable = cr.ui.define('tbody');
PolicyTable.prototype = {
// Set up the prototype chain.
- __proto__: HTMLTableSectionElement.prototype,
+ __proto__: HTMLTableElement.prototype,
/**
* Initialization function for the cr.ui framework.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698