Changeset 97150 in webkit


Ignore:
Timestamp:
Oct 11, 2011, 6:30:56 AM (14 years ago)
Author:
commit-queue@webkit.org
Message:

[EFL] DRT: Return the right window count in LayoutTestController.
https://bugs.webkit.org/show_bug.cgi?id=69764

Patch by Raphael Kubo da Costa <kubo@profusion.mobi> on 2011-10-11
Reviewed by Antonio Gomes.

Follow-up to r96943: now that we have DumpRenderTreeChrome and
DumpRenderTreeView in the tree, we can correctly count the number of
open windows in DRT.

  • DumpRenderTree/efl/LayoutTestControllerEfl.cpp:

(LayoutTestController::windowCount):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r97148 r97150  
     12011-10-11  Raphael Kubo da Costa  <kubo@profusion.mobi>
     2
     3        [EFL] DRT: Return the right window count in LayoutTestController.
     4        https://bugs.webkit.org/show_bug.cgi?id=69764
     5
     6        Reviewed by Antonio Gomes.
     7
     8        Follow-up to r96943: now that we have DumpRenderTreeChrome and
     9        DumpRenderTreeView in the tree, we can correctly count the number of
     10        open windows in DRT.
     11
     12        * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
     13        (LayoutTestController::windowCount):
     14
    1152011-10-11  Jer Noble  <jer.noble@apple.com>
    216
  • trunk/Tools/DumpRenderTree/efl/LayoutTestControllerEfl.cpp

    r97147 r97150  
    291291int LayoutTestController::windowCount()
    292292{
    293     return 1;
     293    return browser->extraViews().size() + 1; // + 1 for the main view.
    294294}
    295295
Note: See TracChangeset for help on using the changeset viewer.