- 22 Oct, 2008 21 commits
-
-
timothy@apple.com authored
Add a license to ElementsTreeOutline.js that was left off when it was split out from ElementsPanel.js. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37794 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
beidson@apple.com authored
<rdar://6261773> - autocomplete="off" doesn't work on Windows Visual Studio makes a poor decision regarding the combination of enums and bitfields, such that a statement like "m_autocomplete = Off" followed by "return m_autocomplete == Off" would return "false" instead of the much more correct "true." In the past we have worked around this by declaring the bitfield member as an unsigned instead of the enum type. For more discussion, see http://trac.webkit.org/changeset/25329 * html/HTMLInputElement.h: Work around insane Visual Studio enum issue *sigh* git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37793 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kmccullough@apple.com authored
Reviewed by Oliver Hunt and Tim Hatcher. https://bugs.webkit.org/show_bug.cgi?id=19225 Bug 19225: JSProfiler: Create automated profiler tests - This change exports profiles on the console object so that they can be iterated over via JavaScript, and thus can be used in automated tests. * bindings/js/JSConsoleCustom.cpp: Get the profiles and return an array that JS can use. (WebCore::JSConsole::profiles): * inspector/InspectorController.h: Use the new typedef. (WebCore::InspectorController::profiles): * page/Console.cpp: Keep our own array of profile objects. (WebCore::Console::profileEnd): * page/Console.h: Ditto. (WebCore::Console::profiles): * page/Console.idl: Expose the profiles to JS. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37792 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kmccullough@apple.com authored
Reviewed by Oliver Hunt and Tim Hatcher. https://bugs.webkit.org/show_bug.cgi?id=19225 Bug 19225: JSProfiler: Create automated profiler tests - This change exports profiles on the console object so that they can be iterated over via JavaScript, and thus can be used in automated tests. * bindings/js/JSConsoleCustom.cpp: Get the profiles and return an array that JS can use. (WebCore::JSConsole::profiles): * inspector/InspectorController.h: Use the new typedef. (WebCore::InspectorController::profiles): * page/Console.cpp: Keep our own array of profile objects. (WebCore::Console::profileEnd): * page/Console.h: Ditto. (WebCore::Console::profiles): * page/Console.idl: Expose the profiles to JS. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37791 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=21775 Convert buttons over to use the new Theme API on OS X. Reviewed by Adam Roben * platform/LengthBox.h: (WebCore::LengthBox::LengthBox): * platform/Theme.cpp: (WebCore::Theme::controlBorder): (WebCore::Theme::controlPadding): * platform/Theme.h: (WebCore::Theme::controlFont): (WebCore::Theme::controlSize): (WebCore::Theme::minControlSize): (WebCore::Theme::controlRequiresPreWhiteSpace): * platform/mac/ThemeMac.h: (WebCore::ThemeMac::controlRequiresPreWhiteSpace): * platform/mac/ThemeMac.mm: (WebCore::checkboxSize): (WebCore::radioSize): (WebCore::buttonSizes): (WebCore::buttonMargins): (WebCore::button): (WebCore::paintButton): (WebCore::ThemeMac::controlFont): (WebCore::ThemeMac::controlSize): (WebCore::ThemeMac::minControlSize): (WebCore::ThemeMac::controlBorder): (WebCore::ThemeMac::controlPadding): (WebCore::ThemeMac::inflateControlPaintRect): (WebCore::ThemeMac::paint): * rendering/RenderTheme.cpp: (WebCore::RenderTheme::adjustStyle): (WebCore::RenderTheme::paint): (WebCore::RenderTheme::controlStatesForRenderer): (WebCore::RenderTheme::isDefault): (WebCore::RenderTheme::adjustRadioStyle): * rendering/RenderTheme.h: (WebCore::RenderTheme::setRadioSize): * rendering/RenderThemeMac.h: * rendering/RenderThemeMac.mm: (WebCore::RenderThemeMac::adjustRepaintRect): (WebCore::menuListButtonSizes): (WebCore::RenderThemeMac::adjustMenuListStyle): * rendering/style/RenderStyle.h: (WebCore::InheritedFlags::paddingBox): (WebCore::InheritedFlags::setPaddingBox): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37790 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cwzwarich@webkit.org authored
Reviewed by Geoff Garen. Bug 21803: Fuse op_jfalse with op_eq_null and op_neq_null <https://bugs.webkit.org/show_bug.cgi?id=21803> Fuse op_jfalse with op_eq_null and op_neq_null to make the new opcodes op_jeq_null and op_jneq_null. This is a 2.6% speedup on the V8 Raytrace benchmark, and strangely also a 4.7% speedup on the V8 Arguments benchmark, even though it uses neither of the two new opcodes. * VM/CTI.cpp: (JSC::CTI::privateCompileMainPass): * VM/CodeBlock.cpp: (JSC::CodeBlock::dump): * VM/CodeGenerator.cpp: (JSC::CodeGenerator::emitJumpIfTrue): (JSC::CodeGenerator::emitJumpIfFalse): * VM/Machine.cpp: (JSC::Machine::privateExecute): * VM/Opcode.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37789 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
Reviewed by Dave Hyatt Moved tests from css3 to animations/transforms directories. * animations/change-keyframes-expected.txt: Renamed from LayoutTests/css3/change-keyframes-expected.txt. * animations/change-keyframes.html: Renamed from LayoutTests/css3/change-keyframes.html. * animations/keyframes-rule-expected.txt: Renamed from LayoutTests/css3/keyframes-rule-expected.txt. * animations/keyframes-rule.html: Renamed from LayoutTests/css3/keyframes-rule.html. * transforms/transform-value-types-expected.txt: Renamed from LayoutTests/css3/transform-value-types-expected.txt. * transforms/transform-value-types.html: Renamed from LayoutTests/css3/transform-value-types.html. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37788 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Reviewed by Simon Hausmann. For public API, use the term boundingRect instead of boundingBox. * Api/qwebframe.cpp: (QWebHitTestResultPrivate::QWebHitTestResultPrivate): (QWebHitTestResult::boundingRect): * Api/qwebframe.h: * Api/qwebframe_p.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37787 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
Reviewed by Dave Hyatt Make sure that the AtomicString that identifies a set of animation keyframes stays live by keeping a copy in the WebKitCSSKeyframesRule. Also call styleSheetChanged() when the keyframes name changes, but add an internal method that doesn't call styleSheetChanged() for use during normal stylesheet parsing. Test: animations/change-keyframes-name.html * css/CSSGrammar.y: * css/WebKitCSSKeyframesRule.cpp: (WebCore::WebKitCSSKeyframesRule::setName): * css/WebKitCSSKeyframesRule.h: (WebCore::WebKitCSSKeyframesRule::setNameInternal): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37786 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@apple.com authored
* Scripts/do-webcore-rename: More renaming plans. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37785 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=21791 WebCore JS bindings should be able to use non-static hash tables for properties Add a map for HashTables to WebCore JS client data. This makes property access noticeably slower, so it is an opt-in. For classes that need to be supported in workers in forseeable future this is not critical. * bindings/js/JSDOMBinding.cpp: (WebCore::DOMObjectHashTableMap::get): (WebCore::DOMObjectHashTableMap::mapFor): (WebCore::getHashTableForGlobalData): (WebCore::DOMObjectWrapperMap::mapFor): WebCore client data is now a class that contains both a DOM wrapper map and a property hash table one. * bindings/js/JSDOMBinding.h: Added getHashTableForGlobalData() to query the hash table map. * bindings/scripts/CodeGeneratorJS.pm: If the class has a NoStaticTables attribute, use JSDOMBinding map to access its property hash tables. * dom/MessageChannel.idl: * dom/MessagePort.idl: Added NoStaticTables attribute. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37784 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@chromium.org authored
Reviewed by Eric Seidel. Should not define PLATFORM(WIN,MAC,GTK) when PLATFORM(CHROMIUM) is defined https://bugs.webkit.org/show_bug.cgi?id=21757 PLATFORM(CHROMIUM) implies HAVE_ACCESSIBILITY * wtf/Platform.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37783 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
alp@webkit.org authored
Build fix for older GTK+ versions where GTK_TYPE_TARGET_LIST isn't defined. * webkit/webkitwebview.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37782 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cwzwarich@webkit.org authored
Reviewed by Alexey Proskuryakov. Correct opcode names in documentation. * VM/Machine.cpp: (JSC::Machine::privateExecute): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37781 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
alp@webkit.org authored
Reviewed by Timothy Hatcher. Build failure because of missing include https://bugs.webkit.org/show_bug.cgi?id=21765 Build failure fix for WebKit/GTK+; added missing include (GOwnPtr.h) * platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37780 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
alp@webkit.org authored
Reviewed by Adam Roben. Fix crashes on older GTK+ versions (2.8). gtk_widget_style_get() doesn't initialize values if the requested property doesn't exist, so initialize the values to the documented defaults before calling it where necessary. Additionally, avoid critical warnings by not calling gtk_widget_style_get() when we know the property isn't available. Note that this is an imported source file which doesn't follow the WebKit coding style. Avoid critical warnings on older GTK+ versions (2.8) by not checking for GTK+ setting properties when we know they don't exist. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37779 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
alp@webkit.org authored
Fix build for Cairo 1.2. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37778 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@chromium.org authored
Reviewed by Eric Seidel. A little more PLATFORM(CHROMIUM) in WebCore https://bugs.webkit.org/show_bug.cgi?id=21758 * page/AccessibilityObject.h: * platform/graphics/Icon.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37776 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
abarth@webkit.org authored
Reviewed by Alexey Proskuryakov. Landed by Adam Barth. - https://bugs.webkit.org/show_bug.cgi?id=21581 Replace x-mac-cyrillic by windows-1256. * http/tests/misc/frame-default-enc-same-domain-expected.txt: * http/tests/misc/frame-default-enc-same-domain.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37775 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
oliver@apple.com authored
RS=Maciej Stachowiak. Force FastMalloc to make all allocated pages executable in a vague hope this will allow the Win2k3 bot to be able to run tests. Filed Bug 21783: Need more granular control over allocation of executable memory to cover a more granular version of this patch. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37772 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@webkit.org authored
Test: fast/events/message-channel-gc-3.html https://bugs.webkit.org/show_bug.cgi?id=21769 MessagePort should be GC protected if there are messages to be delivered * dom/MessagePort.h: Removed pending activity count. Now we track if a close event is pending, and check if the queue is non-empty. (WebCore::MessagePort::workerContext): Added a stub implementation for a cross-heap GC bug fix (below). * dom/MessagePort.cpp: (WebCore::CloseMessagePortTimer::fired): (WebCore::MessagePort::MessagePort): (WebCore::MessagePort::queueCloseEvent): (WebCore::MessagePort::dispatchCloseEvent): (WebCore::MessagePort::hasPendingActivity): Track message and close event activity separately. * bindings/js/JSDOMBinding.cpp: (WebCore::markCrossHeapDependentObjectsForDocument): Fixed a bug in cross-heap GC that was causing same-heap ports to never be deleted. * wtf/MessageQueue.h: (WTF::::isEmpty): Added. Also added a warning for methods that return a snapshot of queue state, thus likely to cause race conditions. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37771 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 21 Oct, 2008 10 commits
-
-
mitz@apple.com authored
- remove unreachable code * platform/text/BidiResolver.h: (WebCore::::embed): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37770 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
sfalken@apple.com authored
Exclude strings marked with UNLOCALIZED_STRING or UNLOCALIZED_LPCTSTR. * Scripts/extract-localizable-strings: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37769 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bdakin@apple.com authored
Reviewed by Darin Adler. Fix for https://bugs.webkit.org/show_bug.cgi?id=20352 REGRESSION(r31030-31055): Choosing "Print window" from frame set prints blank page and corresponding: <rdar://problem/6142398> viewHeight() and viewWidth() only return valuable information if we are not printing. Everywhere else in the code, we make sure we are not printing before we call these functions. Adding a check for printing here fixes this bug, and framesets print again. * rendering/RenderFrameSet.cpp: (WebCore::RenderFrameSet::layout): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37768 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Reviewed by Simon Hausmann. https://bugs.webkit.org/show_bug.cgi?id=19374 Expose boundingBox value in QWebHitTestResult Add API function QRect QWebHitResult::boundingBox() const API docs by Ariya. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37764 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@apple.com authored
Reviewed by Maciej Stachowiak. - convert post-increment to pre-increment in a couple more places for speed Speeds up V8 benchmarks a little on most computers. (But, strangely, slows them down a little on my computer.) * kjs/nodes.cpp: (JSC::statementListEmitCode): Removed default argument, since we always want to specify this explicitly. (JSC::ForNode::emitCode): Tolerate ignoredResult() as the dst -- means the same thing as 0. (JSC::ReturnNode::emitCode): Ditto. (JSC::ThrowNode::emitCode): Ditto. (JSC::FunctionBodyNode::emitCode): Pass ignoredResult() so that we know we don't have to compute the result of function statements. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37763 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
pkasting@chromium.org authored
Reviewed by Maciej Stachowiak. Fix an include of a non-public header to use "" instead of <>. * API/JSProfilerPrivate.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37762 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Reviewed by Simon Hausmann. emit repaintRequested unconditionally when repaint is requested. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37761 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Reviewed by Simon. Pixmap in canvas tag was not getting initialized. See https://bugs.webkit.org/show_bug.cgi?id=21771 git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37760 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
2008-10-20 Sam Weinig <sam@webkit.org> Reviewed by Cameron Zwarich. Fix for https://bugs.webkit.org/show_bug.cgi?id=21766 REGRESSION: 12 JSC tests fail The JSGlobalObject was mutating the shared nullProtoStructureID when used in jsc. Instead of using nullProtoStructureID, use a new StructureID. * API/JSCallbackObject.h: * API/JSCallbackObjectFunctions.h: (JSC::::JSCallbackObject): * API/JSContextRef.cpp: (JSGlobalContextCreateInGroup): * kjs/JSGlobalObject.h: (JSC::JSGlobalObject::JSGlobalObject): * kjs/Shell.cpp: (GlobalObject::GlobalObject): (jscmain): JavaScriptGlue: 2008-10-20 Sam Weinig <sam@webkit.org> Reviewed by Cameron Zwarich. Fix for https://bugs.webkit.org/show_bug.cgi?id=21766 REGRESSION: 12 JSC tests fail The JSGlobalObject constructor no longer takes a JSGlobalData as an argument. * JSRun.cpp: (JSRun::JSRun): * JSRun.h: (JSGlueGlobalObject::JSGlueGlobalObject): * JSUtils.cpp: (getThreadGlobalExecState): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37759 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
Reviewed by Dan Bernstein Add a comment explaining layoutDelta(), and an assertion that checks that delta changes were correctly paired during layout. * rendering/RenderView.cpp: (WebCore::RenderView::layout): * rendering/RenderView.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37758 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 20 Oct, 2008 9 commits
-
-
timothy@apple.com authored
when using dot-notation. Also when completing numeric properties, the quotes are omitted inside the brackets. https://bugs.webkit.org/show_bug.cgi?id=21760 https://bugs.webkit.org/show_bug.cgi?id=21761 Reviewed by Oliver Hunt. * inspector/front-end/Console.js: (WebInspector.Console.prototype.completions): Skip properties that are not valid identifies when using dot-notation. And omit the quotes when completing numbers in bracket-notation. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37757 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
timothy@apple.com authored
the JSValue base-class changes. Also renames some functions and variables in JavaScriptProfileNode.cpp that where title case. https://bugs.webkit.org/show_bug.cgi?id=21764 Reviewed by Oliver Hunt. * inspector/JavaScriptProfile.cpp: (WebCore::toJS): Use a JSObject pointer instead of JSValuePtr so the returned JSValuePtr will be treated as an object and not a value. * inspector/JavaScriptProfileNode.cpp: (WebCore::toJS): Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37756 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cwzwarich@webkit.org authored
Reviewed by Maciej Stachowiak. Remove an untaken branch in CodeGenerator::emitJumpIfFalse(). This function is never called with a backwards target LabelID, and there is even an assertion to this effect at the top of the function body. * VM/CodeGenerator.cpp: (JSC::CodeGenerator::emitJumpIfFalse): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37755 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
2008-10-20 Sam Weinig <sam@webkit.org> Reviewed by Anders Carlsson. Remove FrameLoaderClient::detachedFromParent4. It is no longer used by any port. * loader/EmptyClients.h: (WebCore::EmptyFrameLoaderClient::detachedFromParent4):. * loader/FrameLoader.cpp: (WebCore::FrameLoader::detachFromParent): * loader/FrameLoaderClient.h: WebKit/gtk: 2008-10-20 Sam Weinig <sam@webkit.org> Reviewed by Anders Carlsson. Remove FrameLoaderClient::detachedFromParent4. It is no longer used by any port. * WebCoreSupport/FrameLoaderClientGtk.cpp: * WebCoreSupport/FrameLoaderClientGtk.h: WebKit/mac: 2008-10-20 Sam Weinig <sam@webkit.org> Reviewed by Anders Carlsson. Remove FrameLoaderClient::detachedFromParent4. It is no longer used by any port. * WebCoreSupport/WebFrameLoaderClient.h: * WebCoreSupport/WebFrameLoaderClient.mm: WebKit/qt: 2008-10-20 Sam Weinig <sam@webkit.org> Reviewed by Anders Carlsson. Remove FrameLoaderClient::detachedFromParent4. It is no longer used by any port. * WebCoreSupport/FrameLoaderClientQt.cpp: * WebCoreSupport/FrameLoaderClientQt.h: WebKit/win: 2008-10-20 Sam Weinig <sam@webkit.org> Reviewed by Anders Carlsson. Remove FrameLoaderClient::detachedFromParent4. It is no longer used by any port. * WebFrame.cpp: * WebFrame.h: WebKit/wx: 2008-10-20 Sam Weinig <sam@webkit.org> Reviewed by Anders Carlsson. Remove FrameLoaderClient::detachedFromParent4. It is no longer used by any port. * WebKitSupport/FrameLoaderClientWx.cpp: * WebKitSupport/FrameLoaderClientWx.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37754 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
antti@apple.com authored
Reviewed by Adele Peterson. Fix https://bugs.webkit.org/show_bug.cgi?id=21763 REGRESSION (r36108-r36113): Can't load picture content on wired.com galleries <rdar://problem/6285025 If we get 304 response we need to explicitly check if that completes the frame load. No test case, simulating the condition is pretty difficult. * loader/loader.cpp: (WebCore::Loader::Host::didReceiveResponse): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37753 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
Reviewed by Mark Rowe. Work around <rdar://problem/6301728>. Don't assert that loads are deferred when we're using CFNetwork on Mac or Windows. * loader/MainResourceLoader.cpp: (WebCore::MainResourceLoader::didReceiveResponse): (WebCore::MainResourceLoader::didReceiveData): (WebCore::MainResourceLoader::didFinishLoading): (WebCore::MainResourceLoader::didFail): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37752 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cwzwarich@webkit.org authored
Not reviewed. Update the ChangeLog for previous commit to contain meaningful information. * ChangeLog git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37751 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cwzwarich@webkit.org authored
Rubber-stamped by Sam Weinig. * VM/Machine.cpp: (JSC::Machine::privateExecute): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37750 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bdakin@apple.com authored
Reviewed by Adele Peterson. Speculative fix for <rdar://problem/6242585> CrashTracer: [USER] 19 crashes in Safari at com.apple.WebCore WebCore::ScrollView::visibleContentRect const + 153 d->m_view can be null and is null-checked at other points in the code. The logs indicate that this crash occurs when closing a window containing a PDF, so in case where we crash, the PDF's view is probably already null. So the fix is to simply add a null-check. * page/Frame.cpp: (WebCore::Frame::selectionRect): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37749 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-