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

Unified Diff: third_party/google_input_tools/src/chrome/os/inputview/canvas.js

Issue 1257313003: Update Google Input Tools (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Free up grd resources. Created 5 years, 5 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
Index: third_party/google_input_tools/src/chrome/os/inputview/canvas.js
diff --git a/third_party/google_input_tools/src/chrome/os/inputview/canvas.js b/third_party/google_input_tools/src/chrome/os/inputview/canvas.js
index b4170477aa16dfd806a1eaba7f8dec83c22f8635..a6ef211b685a04360e16d9d3c1cce99bc4198e05 100644
--- a/third_party/google_input_tools/src/chrome/os/inputview/canvas.js
+++ b/third_party/google_input_tools/src/chrome/os/inputview/canvas.js
@@ -47,7 +47,8 @@ goog.require('i18n.input.hwt.css');
*/
i18n.input.hwt.Canvas = function(opt_topDocument, opt_domHelper,
opt_eventTarget, opt_inkWidth, opt_inkColor) {
- goog.base(this, undefined, undefined, opt_domHelper);
+ i18n.input.hwt.Canvas.base(this, 'constructor', undefined, undefined,
+ opt_domHelper);
this.setParentEventTarget(opt_eventTarget || null);
/**
@@ -165,7 +166,7 @@ i18n.input.hwt.Canvas.MSG_HANDWRITING_HINT = goog.getMsg('Draw a symbol here');
/** @override */
i18n.input.hwt.Canvas.prototype.createDom = function() {
- goog.base(this, 'createDom');
+ i18n.input.hwt.Canvas.base(this, 'createDom');
var dom = this.getDomHelper();
this.writingCanvas_ = dom.createDom(goog.dom.TagName.CANVAS,
@@ -179,7 +180,7 @@ i18n.input.hwt.Canvas.prototype.createDom = function() {
/** @override */
i18n.input.hwt.Canvas.prototype.enterDocument = function() {
- goog.base(this, 'enterDocument');
+ i18n.input.hwt.Canvas.base(this, 'enterDocument');
this.setFocusable(false);
this.setFocusableChildrenAllowed(false);
@@ -339,10 +340,9 @@ i18n.input.hwt.Canvas.prototype.reset = function() {
/** @override */
i18n.input.hwt.Canvas.prototype.disposeInternal = function() {
goog.dispose(this.handler_);
- goog.base(this, 'disposeInternal');
+ i18n.input.hwt.Canvas.base(this, 'disposeInternal');
};
-
/**
* Gets the width of the canvas.
*

Powered by Google App Engine
This is Rietveld 408576698