-
bdakin@apple.com authored
Adobe Reader https://bugs.webkit.org/show_bug.cgi?id=120240 -and corresponding- <rdar://problem/14634453> Reviewed by Anders Carlsson. Source/WebCore: This patch makes it so that we don’t use the infinite rect for the PDF context, and it adds WebCoreSystemInterface API to find out if the current content is the PDF context. * WebCore.exp.in: * platform/graphics/cg/GraphicsContextCG.cpp: (WebCore::GraphicsContext::clipOut): * platform/mac/WebCoreSystemInterface.h: * platform/mac/WebCoreSystemInterface.mm: Source/WebKit/mac: Hook up new WebSystemInterface API to find out if the current context is the PDF context. * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): Source/WebKit2: Hook up new WebSystemInterface API to find out if the current context is the PDF context. * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm: (InitWebCoreSystemInterface): WebKitLibraries: * WebKitSystemInterface.h: * libWebKitSystemInterfaceLion.a: * libWebKitSystemInterfaceMountainLion.a: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154528 268f45cc-cd09-0410-ab3c-d52691b4dbfc
a1231c3e