Bug 93265

Summary: Web Inspector: make the MemoryClassInfo class a not-template
Product: WebKit Reporter: Alexei Filippov <alph>
Component: Web Inspector (Deprecated)Assignee: Alexei Filippov <alph>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, apavlov, bweinstein, cmarcelo, dglazkov, eric.carlson, eric, feature-media-reviews, haraken, japhet, joepeck, keishi, loislo, macpherson, menard, pfeldman, pmuellr, rik, timothy, webkit.review.bot, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch
none
Archive of layout-test-results from gce-cq-03 none

Alexei Filippov
Reported 2012-08-06 06:36:45 PDT
EOM
Attachments
Patch (63.95 KB, patch)
2012-08-06 06:39 PDT, Alexei Filippov
no flags
Patch (94.78 KB, patch)
2012-08-06 07:21 PDT, Alexei Filippov
no flags
Patch (98.51 KB, patch)
2012-08-06 09:13 PDT, Alexei Filippov
no flags
Patch (95.16 KB, patch)
2012-08-07 03:28 PDT, Alexei Filippov
no flags
Archive of layout-test-results from gce-cq-03 (585.06 KB, application/zip)
2012-08-07 05:43 PDT, WebKit Review Bot
no flags
Alexei Filippov
Comment 1 2012-08-06 06:39:48 PDT
Alexei Filippov
Comment 2 2012-08-06 07:21:22 PDT
Alexei Filippov
Comment 3 2012-08-06 07:21:59 PDT
Rebaselined.
Yury Semikhatsky
Comment 4 2012-08-06 07:49:39 PDT
Comment on attachment 156689 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=156689&action=review > Source/WebCore/dom/MemoryInstrumentation.h:182 > + MemoryClassInfo(MemoryObjectInfo* memoryObjectInfo, MemoryInstrumentation::ObjectType objectType) I would thing that the ptr is used for checking if the object has already been visited before processing it. Now we only check if an object has already been processed right before adding it to the queue of deferred pointers. But the object may be already visited by the moment the deferred pointer gets processed and we probably need to add a check for the pointer.
WebKit Review Bot
Comment 5 2012-08-06 08:06:49 PDT
Comment on attachment 156689 [details] Patch Attachment 156689 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/13447307
Yury Semikhatsky
Comment 6 2012-08-06 08:10:42 PDT
Comment on attachment 156689 [details] Patch One advantage of having "this" parameter is that the compiler will check that MemoryClassInfo template parameter is the same as the type of "this".
Alexei Filippov
Comment 7 2012-08-06 09:13:37 PDT
Alexei Filippov
Comment 8 2012-08-06 09:16:04 PDT
(In reply to comment #6) > (From update of attachment 156689 [details]) > One advantage of having "this" parameter is that the compiler will check that MemoryClassInfo template parameter is the same as the type of "this". Ok. I made it vice versa. You don't need to explicitly specify the class. It is now deduced from the 'this' pointer.
Ilya Tikhonovsky
Comment 9 2012-08-06 10:55:55 PDT
Comment on attachment 156702 [details] Patch strange changes of files' mode. otherwise looks good
Build Bot
Comment 10 2012-08-06 15:07:18 PDT
Yury Semikhatsky
Comment 11 2012-08-07 00:20:05 PDT
Comment on attachment 156702 [details] Patch Please revert file mode changes, otherwise looks good.
Alexei Filippov
Comment 12 2012-08-07 03:28:13 PDT
Alexei Filippov
Comment 13 2012-08-07 03:29:27 PDT
(In reply to comment #11) > (From update of attachment 156702 [details]) > Please revert file mode changes, otherwise looks good. done +rebaselining
WebKit Review Bot
Comment 14 2012-08-07 05:43:21 PDT
Comment on attachment 156904 [details] Patch Rejecting attachment 156904 [details] from commit-queue. New failing tests: fast/speech/input-appearance-searchandspeech.html Full output: http://queues.webkit.org/results/13449449
WebKit Review Bot
Comment 15 2012-08-07 05:43:28 PDT
Created attachment 156919 [details] Archive of layout-test-results from gce-cq-03 The attached test failures were seen while running run-webkit-tests on the commit-queue. Bot: gce-cq-03 Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'> Platform: Linux-2.6.39-gcg-201203291735-x86_64-with-Ubuntu-10.04-lucid
WebKit Review Bot
Comment 16 2012-08-07 06:51:11 PDT
Comment on attachment 156904 [details] Patch Clearing flags on attachment: 156904 Committed r124884: <http://trac.webkit.org/changeset/124884>
WebKit Review Bot
Comment 17 2012-08-07 06:51:18 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.