Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/network/NetworkWaterfallColumn.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/network/NetworkWaterfallColumn.js b/third_party/WebKit/Source/devtools/front_end/network/NetworkWaterfallColumn.js |
| index 7afccc71b088b766d2304b84f163b3448053d4f7..3d01ddac297dd9166bcf41e699114db51b3d4f49 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/network/NetworkWaterfallColumn.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/network/NetworkWaterfallColumn.js |
| @@ -301,7 +301,11 @@ Network.NetworkWaterfallColumn = class extends UI.VBox { |
| context.restore(); |
| const freeZoneAtLeft = 75; |
| - UI.TimelineGrid.drawCanvasGrid(context, this._calculator, this._fontSize, freeZoneAtLeft); |
| + const freeZoneAtRight = 18; |
| + context.save(); |
|
lushnikov
2016/11/23 00:16:34
You don't need context.save / context.restore - it
allada
2016/11/23 01:06:03
Done.
|
| + UI.TimelineGrid.drawCanvasGrid(context, this._calculator, this._fontSize, this._headerHeight, freeZoneAtLeft); |
| + context.clearRect(this._offsetWidth - freeZoneAtRight, 0, freeZoneAtRight, this._headerHeight); |
| + context.restore(); |
| this._didDrawForTest(); |
| } |