projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
WebKit
/
Source
/
core
/
page
/
WindowFeatures.cpp
diff --git
a/src/third_party/WebKit/Source/core/page/WindowFeatures.cpp
b/src/third_party/WebKit/Source/core/page/WindowFeatures.cpp
index
69d5dd2
..
b5ecaa8
100644
(file)
--- a/
src/third_party/WebKit/Source/core/page/WindowFeatures.cpp
+++ b/
src/third_party/WebKit/Source/core/page/WindowFeatures.cpp
@@
-37,10
+37,15
@@
static bool isWindowFeaturesSeparator(UChar c)
}
WindowFeatures::WindowFeatures(const String& features)
}
WindowFeatures::WindowFeatures(const String& features)
- : xSet(false)
+ : x(0)
+ , xSet(false)
+ , y(0)
, ySet(false)
, ySet(false)
+ , width(0)
, widthSet(false)
, widthSet(false)
+ , height(0)
, heightSet(false)
, heightSet(false)
+ , resizable(true)
, fullscreen(false)
, dialog(false)
{
, fullscreen(false)
, dialog(false)
{
@@
-53,13
+58,12
@@
WindowFeatures::WindowFeatures(const String& features)
We always allow a window to be resized, which is consistent with Firefox.
*/
We always allow a window to be resized, which is consistent with Firefox.
*/
- if (features.
length() == 0
) {
+ if (features.
isEmpty()
) {
menuBarVisible = true;
statusBarVisible = true;
toolBarVisible = true;
locationBarVisible = true;
scrollbarsVisible = true;
menuBarVisible = true;
statusBarVisible = true;
toolBarVisible = true;
locationBarVisible = true;
scrollbarsVisible = true;
- resizable = true;
return;
}
return;
}
@@
-68,7
+72,6
@@
WindowFeatures::WindowFeatures(const String& features)
toolBarVisible = false;
locationBarVisible = false;
scrollbarsVisible = false;
toolBarVisible = false;
locationBarVisible = false;
scrollbarsVisible = false;
- resizable = true;
// Tread lightly in this code -- it was specifically designed to mimic Win IE's parsing behavior.
int keyBegin, keyEnd;
// Tread lightly in this code -- it was specifically designed to mimic Win IE's parsing behavior.
int keyBegin, keyEnd;