3325
|
1 |
--- webkit-1.2.7/WebCore/dom/NodeRenderStyle.h Fri Feb 5 17:26:57 2010
|
|
2 |
+++ webkit-1.2.7-patch/WebCore/dom/NodeRenderStyle.h Sat Mar 19 23:06:11 2011
|
2663
|
3 |
@@ -33,7 +33,7 @@
|
2315
|
4 |
|
|
5 |
inline RenderStyle* Node::renderStyle() const
|
|
6 |
{
|
|
7 |
- return m_renderer ? m_renderer->style() : nonRendererRenderStyle();
|
|
8 |
+ return m_renderer ? (RenderStyle*)m_renderer->style() : nonRendererRenderStyle();
|
|
9 |
}
|
|
10 |
|
|
11 |
}
|
3325
|
12 |
--- webkit-1.2.7/WebCore/loader/DocumentLoader.h Fri Sep 10 15:20:33 2010
|
|
13 |
+++ webkit-1.2.7-patch/WebCore/loader/DocumentLoader.h Sat Mar 19 23:06:11 2011
|
2663
|
14 |
@@ -163,7 +163,7 @@
|
2315
|
15 |
String clientRedirectDestinationForHistory() const { return urlForHistory(); }
|
|
16 |
void setClientRedirectSourceForHistory(const String& clientedirectSourceForHistory) { m_clientRedirectSourceForHistory = clientedirectSourceForHistory; }
|
|
17 |
|
|
18 |
- String serverRedirectSourceForHistory() const { return urlForHistory() == url() ? String() : urlForHistory(); } // null if no server redirect occurred.
|
|
19 |
+ String serverRedirectSourceForHistory() const { return urlForHistory() == url() ? String() : (String)urlForHistory(); } // null if no server redirect occurred.
|
|
20 |
String serverRedirectDestinationForHistory() const { return url(); }
|
|
21 |
|
|
22 |
bool didCreateGlobalHistoryEntry() const { return m_didCreateGlobalHistoryEntry; }
|
3325
|
23 |
--- webkit-1.2.7/WebCore/loader/FrameLoader.cpp Tue Dec 28 13:24:33 2010
|
|
24 |
+++ webkit-1.2.7-patch/WebCore/loader/FrameLoader.cpp Sat Mar 19 23:06:11 2011
|
|
25 |
@@ -1989,7 +1989,7 @@
|
2315
|
26 |
m_loadType = FrameLoadTypeStandard;
|
|
27 |
RefPtr<DocumentLoader> loader = m_client->createDocumentLoader(request, substituteData);
|
|
28 |
if (lockHistory && m_documentLoader)
|
|
29 |
- loader->setClientRedirectSourceForHistory(m_documentLoader->didCreateGlobalHistoryEntry() ? m_documentLoader->urlForHistory() : m_documentLoader->clientRedirectSourceForHistory());
|
|
30 |
+ loader->setClientRedirectSourceForHistory(m_documentLoader->didCreateGlobalHistoryEntry() ? (String)m_documentLoader->urlForHistory() : m_documentLoader->clientRedirectSourceForHistory());
|
|
31 |
load(loader.get());
|
|
32 |
}
|
|
33 |
|
3325
|
34 |
@@ -2013,7 +2013,7 @@
|
2315
|
35 |
{
|
|
36 |
RefPtr<DocumentLoader> loader = m_client->createDocumentLoader(request, SubstituteData());
|
|
37 |
if (lockHistory && m_documentLoader)
|
|
38 |
- loader->setClientRedirectSourceForHistory(m_documentLoader->didCreateGlobalHistoryEntry() ? m_documentLoader->urlForHistory() : m_documentLoader->clientRedirectSourceForHistory());
|
|
39 |
+ loader->setClientRedirectSourceForHistory(m_documentLoader->didCreateGlobalHistoryEntry() ? (String)m_documentLoader->urlForHistory() : m_documentLoader->clientRedirectSourceForHistory());
|
|
40 |
|
|
41 |
loader->setTriggeringAction(action);
|
|
42 |
if (m_documentLoader)
|