Bug 28366 - WebHTMLViewInternal.h: add @class CALayer declaration
Summary: WebHTMLViewInternal.h: add @class CALayer declaration
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-16 15:04 PDT by David Kilzer (:ddkilzer)
Modified: 2009-08-16 22:24 PDT (History)
1 user (show)

See Also:


Attachments
Patch v1 (1013 bytes, patch)
2009-08-16 15:04 PDT, David Kilzer (:ddkilzer)
simon.fraser: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2009-08-16 15:04:27 PDT
Created attachment 34937 [details]
Patch v1

Reviewed by NOBODY (OOPS!).

Without WebKitPrefix.h, the missing @class CALayer declaration
causes a compile-time error.

* WebView/WebHTMLViewInternal.h: Added @class CALayer
declaration with USE(ACCELERATED_COMPOSITING).
---
 2 files changed, 15 insertions(+), 0 deletions(-)
Comment 1 Mark Rowe (bdash) 2009-08-16 15:57:42 PDT
Is there a good reason to #if the forward declaration?
Comment 2 David Kilzer (:ddkilzer) 2009-08-16 16:00:22 PDT
(In reply to comment #1)
> Is there a good reason to #if the forward declaration?

No, other than it's only needed when USE(ACCELERATED_COMPOSITING) is enabled.
Comment 3 David Kilzer (:ddkilzer) 2009-08-16 22:24:45 PDT
Committing to http://svn.webkit.org/repository/webkit/trunk ...
	M	WebKit/mac/ChangeLog
	M	WebKit/mac/WebView/WebHTMLViewInternal.h
Committed r47349
	M	WebKit/mac/ChangeLog
	M	WebKit/mac/WebView/WebHTMLViewInternal.h
r47349 = d31f583bf657f5165a8341c520972324b8dad64b (trunk)
No changes between current HEAD and refs/remotes/trunk
Resetting to the latest refs/remotes/trunk
http://trac.webkit.org/changeset/47349
Comment 4 David Kilzer (:ddkilzer) 2009-08-16 22:24:48 PDT
All reviewed patches have been landed.  Closing bug.