Changeset 76912 in webkit
- Timestamp:
- Jan 27, 2011 7:42:56 PM (13 years ago)
- Location:
- trunk/Source
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r76911 r76912 1 2011-01-27 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r76891. 4 http://trac.webkit.org/changeset/76891 5 https://bugs.webkit.org/show_bug.cgi?id=53280 6 7 Makes every layout test crash (Requested by othermaciej on 8 #webkit). 9 10 * page/EventHandler.cpp: 11 * page/EventHandler.h: 12 * rendering/RenderObject.cpp: 13 (WebCore::RenderObject::styleDidChange): 14 1 15 2011-01-27 Ryosuke Niwa <rniwa@webkit.org> 2 16 -
trunk/Source/WebCore/page/EventHandler.cpp
r76891 r76912 1 1 /* 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010 , 2011Apple Inc. All rights reserved.2 * Copyright (C) 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 3 3 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) 4 4 * … … 2153 2153 } 2154 2154 2155 void EventHandler::dispatchFakeMouseMoveEventSoon()2156 {2157 if (m_mousePressed)2158 return;2159 2160 if (!m_fakeMouseMoveEventTimer.isActive())2161 m_fakeMouseMoveEventTimer.startOneShot(fakeMouseMoveInterval);2162 }2163 2164 2155 void EventHandler::dispatchFakeMouseMoveEventSoonInQuad(const FloatQuad& quad) 2165 2156 { -
trunk/Source/WebCore/page/EventHandler.h
r76891 r76912 1 1 /* 2 * Copyright (C) 2006, 2007, 2009, 2010 , 2011Apple Inc. All rights reserved.2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 109 109 void updateAutoscrollRenderer(); 110 110 111 void dispatchFakeMouseMoveEventSoon();112 111 void dispatchFakeMouseMoveEventSoonInQuad(const FloatQuad&); 113 112 -
trunk/Source/WebCore/rendering/RenderObject.cpp
r76891 r76912 4 4 * (C) 2000 Dirk Mueller (mueller@kde.org) 5 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 , 2011Apple Inc. All rights reserved.6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 7 7 * Copyright (C) 2009 Google Inc. All rights reserved. 8 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmobile.com/) … … 32 32 #include "Chrome.h" 33 33 #include "ContentData.h" 34 #include "CursorList.h"35 34 #include "DashArray.h" 36 35 #include "EditingBoundary.h" … … 1861 1860 } 1862 1861 1863 static bool areNonIdenticalCursorListsEqual(const RenderStyle* a, const RenderStyle* b)1864 {1865 ASSERT(a->cursors() != b->cursors());1866 return a->cursors() && b->cursors() && *a->cursors() == *b->cursors();1867 }1868 1869 static inline bool areCursorsEqual(const RenderStyle* a, const RenderStyle* b)1870 {1871 return a->cursor() == b->cursor() && (a->cursors() == b->cursors() || areNonIdenticalCursorListsEqual(a, b));1872 }1873 1874 1862 void RenderObject::styleDidChange(StyleDifference diff, const RenderStyle* oldStyle) 1875 1863 { … … 1897 1885 // Don't check for repaint here; we need to wait until the layer has been 1898 1886 // updated by subclasses before we know if we have to repaint (in setStyle()). 1899 1900 if (!areCursorsEqual(oldStyle, style())) {1901 if (Frame* frame = this->frame())1902 frame->eventHandler()->dispatchFakeMouseMoveEventSoon();1903 }1904 1887 } 1905 1888 -
trunk/Source/WebKit/mac/ChangeLog
r76872 r76912 1 2011-01-27 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r76891. 4 http://trac.webkit.org/changeset/76891 5 https://bugs.webkit.org/show_bug.cgi?id=53280 6 7 Makes every layout test crash (Requested by othermaciej on 8 #webkit). 9 10 * Misc/WebIconDatabase.mm: 11 (-[ThreadEnabler threadEnablingSelector:]): 12 (importToWebCoreFormat): 13 1 14 2011-01-27 Nate Chapin <japhet@chromium.org> 2 15 -
trunk/Source/WebKit/mac/Misc/WebIconDatabase.mm
r76891 r76912 560 560 @end 561 561 562 @interface ThreadEnabler : NSObject 562 @interface ThreadEnabler : NSObject { 563 } 563 564 + (void)enableThreading; 565 564 566 - (void)threadEnablingSelector:(id)arg; 565 567 @end … … 569 571 - (void)threadEnablingSelector:(id)arg 570 572 { 573 return; 571 574 } 572 575 … … 587 590 [ThreadEnabler enableThreading]; 588 591 ASSERT([NSThread isMultiThreaded]); 589 592 590 593 // Get the directory the old icon database *should* be in 591 594 NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
Note: See TracChangeset
for help on using the changeset viewer.