Changeset 89760 in webkit


Ignore:
Timestamp:
Jun 25, 2011 9:04:07 PM (13 years ago)
Author:
Joseph Pecoraro
Message:

2011-06-25 Joseph Pecoraro <Joseph Pecoraro>

Reviewed by Darin Adler.

Fix some minor style issues
https://bugs.webkit.org/show_bug.cgi?id=63391

  • inspector/DOMNodeHighlighter.cpp: (WebCore::DOMNodeHighlighter::DrawNodeHighlight): The explicit WebCore namespace usage can be dropped.
  • rendering/RenderView.cpp: (WebCore::RenderView::mapLocalToContainer): Use ASSERT_UNUSED for a parameter that we want to ASSERT on for a debug build, but is UNUSED in a release build.
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r89756 r89760  
     12011-06-25  Joseph Pecoraro  <joepeck@webkit.org>
     2
     3        Reviewed by Darin Adler.
     4
     5        Fix some minor style issues
     6        https://bugs.webkit.org/show_bug.cgi?id=63391
     7
     8        * inspector/DOMNodeHighlighter.cpp:
     9        (WebCore::DOMNodeHighlighter::DrawNodeHighlight):
     10        The explicit WebCore namespace usage can be dropped.
     11
     12        * rendering/RenderView.cpp:
     13        (WebCore::RenderView::mapLocalToContainer):
     14        Use ASSERT_UNUSED for a parameter that we want to ASSERT
     15        on for a debug build, but is UNUSED in a release build.
     16
    1172011-06-25  Joseph Pecoraro  <joepeck@webkit.org>
    218
  • trunk/Source/WebCore/inspector/DOMNodeHighlighter.cpp

    r89753 r89760  
    133133}
    134134
    135 void drawElementTitle(GraphicsContext& context, Node* node, const IntRect& boundingBox, const IntRect& anchorBox, const FloatRect& overlayRect, WebCore::Settings* settings)
     135void drawElementTitle(GraphicsContext& context, Node* node, const IntRect& boundingBox, const IntRect& anchorBox, const FloatRect& overlayRect, Settings* settings)
    136136{
    137137    static const int rectInflatePx = 4;
     
    298298        return;
    299299
    300     WebCore::Settings* settings = containingFrame->settings();
     300    Settings* settings = containingFrame->settings();
    301301    if (mode == DOMNodeHighlighter::HighlightAll)
    302302        drawElementTitle(context, node, boundingBox, titleAnchorBox, overlayRect, settings);
  • trunk/Source/WebCore/rendering/RenderView.cpp

    r89756 r89760  
    142142    // then we should have found it by now.
    143143    ASSERT_ARG(repaintContainer, !repaintContainer || repaintContainer == this);
    144     ASSERT(!wasFixed || *wasFixed == fixed);
    145     UNUSED_PARAM(wasFixed);
     144    ASSERT_UNUSED(wasFixed, !wasFixed || *wasFixed == fixed);
    146145
    147146    if (!repaintContainer && useTransforms && shouldUseTransformFromContainer(0)) {
Note: See TracChangeset for help on using the changeset viewer.