Bug 112429 - Web Inspector: Timeline. Clear button doesn't clean Memory graph in Overview pane.
Summary: Web Inspector: Timeline. Clear button doesn't clean Memory graph in Overview ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Roland Takacs
URL:
Keywords:
Depends on:
Blocks: 116924
  Show dependency treegraph
 
Reported: 2013-03-15 04:36 PDT by Ilya Tikhonovsky
Modified: 2013-06-05 05:37 PDT (History)
10 users (show)

See Also:


Attachments
patch (2.19 KB, patch)
2013-06-05 01:21 PDT, Roland Takacs
noam: review+
noam: commit-queue-
Details | Formatted Diff | Diff
patch (2.19 KB, patch)
2013-06-05 03:19 PDT, Roland Takacs
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Tikhonovsky 2013-03-15 04:36:41 PDT
EOM
Comment 1 Roland Takacs 2013-06-05 01:21:10 PDT
Created attachment 203767 [details]
patch

With this patch we can remove the memory graph from the canvas.
Comment 2 Noam Rosenthal 2013-06-05 01:44:17 PDT
Comment on attachment 203767 [details]
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=203767&action=review

> Source/WebCore/ChangeLog:8
> +        There is too early return from TimelineMemoryOverview.update() when

There is an early return

> Source/WebCore/ChangeLog:9
> +        record array is empty. Thats why if you clik onto the clear button,

click

> Source/WebCore/ChangeLog:13
> +        I've moved this "return condition" after the canvas size definition
> +        because we need to know the canvas size for refreshing.
> +        I've overridden TimelineOverviewBase's reset function to clear

I've moved -> Moved
I've overridden -> Overridden
Comment 3 Roland Takacs 2013-06-05 03:19:48 PDT
Created attachment 203783 [details]
patch
Comment 4 WebKit Commit Bot 2013-06-05 05:36:57 PDT
Comment on attachment 203783 [details]
patch

Clearing flags on attachment: 203783

Committed r151217: <http://trac.webkit.org/changeset/151217>
Comment 5 WebKit Commit Bot 2013-06-05 05:37:00 PDT
All reviewed patches have been landed.  Closing bug.