Changeset 12009 in webkit


Ignore:
Timestamp:
Jan 11, 2006 8:44:27 PM (18 years ago)
Author:
justing
Message:

Replaced two asserts that I accidently removed in
the build bustage fix.

  • page/Frame.cpp: (Frame::revealSelection): (Frame::centerSelectionInVisibleArea):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r12008 r12009  
     12006-01-11  Justin Garcia  <justin.garcia@apple.com>
     2
     3        Replaced two asserts that I accidently removed in
     4        the build bustage fix.
     5
     6        * page/Frame.cpp:
     7        (Frame::revealSelection):
     8        (Frame::centerSelectionInVisibleArea):
     9
    1102006-01-11  Justin Garcia  <justin.garcia@apple.com>
    211
  • trunk/WebCore/page/Frame.cpp

    r12005 r12009  
    32553255    Position start = selection().start();
    32563256    Position end = selection().end();
    3257     if (start.node()->renderer()) {
     3257    ASSERT(start.node());
     3258    if (start.node() && start.node()->renderer()) {
    32583259        RenderLayer *layer = start.node()->renderer()->enclosingLayer();
    32593260        if (layer) {
     
    36793680    Position start = selection().start();
    36803681    Position end = selection().end();
    3681     if (start.node()->renderer()) {
     3682    ASSERT(start.node());
     3683    if (start.node() && start.node()->renderer()) {
    36823684        RenderLayer *layer = start.node()->renderer()->enclosingLayer();
    36833685        if (layer) {
Note: See TracChangeset for help on using the changeset viewer.