OSDN Git Service
(root)
/
android-x86
/
external-webkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe812d4
)
Fix crash with meta data settings
author
Patrick Scott
<phanna@android.com>
Mon, 13 Dec 2010 14:37:23 +0000
(09:37 -0500)
committer
Patrick Scott
<phanna@android.com>
Mon, 13 Dec 2010 14:37:23 +0000
(09:37 -0500)
Bug:
3275740
Change-Id: I6a65bdd52a3d044ee9a18c690930ca884a1baec1
WebCore/html/HTMLMetaElement.cpp
patch
|
blob
|
history
diff --git
a/WebCore/html/HTMLMetaElement.cpp
b/WebCore/html/HTMLMetaElement.cpp
index
520b9ae
..
4863f3b
100644
(file)
--- a/
WebCore/html/HTMLMetaElement.cpp
+++ b/
WebCore/html/HTMLMetaElement.cpp
@@
-86,6
+86,7
@@
void HTMLMetaElement::process()
else if ((equalIgnoringCase(name(), "HandheldFriendly")
&& equalIgnoringCase(m_content, "true") ||
equalIgnoringCase(name(), "MobileOptimized"))
+ && document()->settings()
&& document()->settings()->viewportWidth() == -1) {
// fit mobile sites directly in the screen
document()->settings()->setMetadataSettings("width", "device-width");