| Index: third_party/WebKit/Source/devtools/front_end/bindings/StylesSourceMapping.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/bindings/StylesSourceMapping.js b/third_party/WebKit/Source/devtools/front_end/bindings/StylesSourceMapping.js
|
| index 49cb560acdc6cfcf0a820d99581a6e6968d0192a..ede1cdd25fc0578f8c770f5723b6a54013314086 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/bindings/StylesSourceMapping.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/bindings/StylesSourceMapping.js
|
| @@ -269,11 +269,15 @@ Bindings.StylesSourceMapping = class {
|
| */
|
| function callback(uiSourceCode, content) {
|
| var styleFile = this._styleFiles.get(uiSourceCode);
|
| - if (styleFile)
|
| - styleFile.addRevision(content || '');
|
| + if (typeof content === 'string' && styleFile)
|
| + styleFile.addRevision(content);
|
| + this._styleFileSyncedForTest();
|
| }
|
| }
|
|
|
| + _styleFileSyncedForTest() {
|
| + }
|
| +
|
| dispose() {
|
| Common.EventTarget.removeEventListeners(this._eventListeners);
|
| }
|
|
|