Changeset 172872 in webkit


Ignore:
Timestamp:
Aug 22, 2014, 3:09:21 PM (11 years ago)
Author:
Simon Fraser
Message:

Use the correct rect for paint flashing
https://bugs.webkit.org/show_bug.cgi?id=136169

Reviewed by Sam Weinig.

Use the rect we've converted to root document coordinates for paint flashing.

  • inspector/InspectorPageAgent.cpp:

(WebCore::InspectorPageAgent::didPaint):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r172871 r172872  
     12014-08-22  Simon Fraser  <simon.fraser@apple.com>
     2
     3        Use the correct rect for paint flashing
     4        https://bugs.webkit.org/show_bug.cgi?id=136169
     5
     6        Reviewed by Sam Weinig.
     7
     8        Use the rect we've converted to root document coordinates for paint flashing.
     9
     10        * inspector/InspectorPageAgent.cpp:
     11        (WebCore::InspectorPageAgent::didPaint):
     12
    1132014-08-22  Dean Jackson  <dino@apple.com>
    214
  • trunk/Source/WebCore/inspector/InspectorPageAgent.cpp

    r172869 r172872  
    898898   
    899899    if (m_client->overridesShowPaintRects()) {
    900         m_client->showPaintRect(rect);
    901         return;
    902     }
    903 
    904     m_overlay->showPaintRect(rect);
     900        m_client->showPaintRect(rootRect);
     901        return;
     902    }
     903
     904    m_overlay->showPaintRect(rootRect);
    905905}
    906906
Note: See TracChangeset for help on using the changeset viewer.