REGRESSION (r173265): UIWebView PDF loading is completely broken
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 3 Oct 2014 20:26:41 +0000 (20:26 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 3 Oct 2014 20:26:41 +0000 (20:26 +0000)
commitc6e3a5dfe865cc890356a5c6a376f8b880477b14
treeb64b851253eaf904e9d3247e569337a167c10fa5
parent22a678dab494af1f1effb682d855af36fccbc404
REGRESSION (r173265): UIWebView PDF loading is completely broken
https://bugs.webkit.org/show_bug.cgi?id=137386
<rdar://problem/18524717>

Reviewed by David Kilzer.

* WebView/WebPDFViewPlaceholder.h:
* WebView/WebPDFViewPlaceholder.mm:
(-[WebPDFViewPlaceholder layout]):
(-[WebPDFViewPlaceholder finishedLoadingWithDataSource:]):
Restore important code that creates the CGDataProvider and sets _didFinishLoad
and calls _doPostLoadOrUnlockTasks after finishing a load, which was haphazardly
removed in the aforementioned revision.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@174282 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/ios/ChangeLog
Source/WebKit/ios/WebView/WebPDFViewPlaceholder.h
Source/WebKit/ios/WebView/WebPDFViewPlaceholder.mm