Index: third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js b/third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js |
index 37cc0e2fe6c9b1614640054caa6e537ea2ae167f..c14bb437bcc73de73f404121ac5b728ee48c28ab 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js |
+++ b/third_party/WebKit/Source/devtools/front_end/ui/Toolbar.js |
@@ -459,6 +459,13 @@ UI.ToolbarText = class extends UI.ToolbarItem { |
this.setText(text || ''); |
} |
+ /** |
+ * @return {string} |
+ */ |
+ text() { |
+ return this.element.textContent; |
+ } |
+ |
/** |
* @param {string} text |
*/ |