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:
e360cb4
)
Part of fix for bug 5152544 Reduce the number of warnings
author
Kristian Monsen
<kristianm@google.com>
Wed, 12 Oct 2011 15:47:21 +0000
(16:47 +0100)
committer
Kristian Monsen
<kristianm@google.com>
Wed, 12 Oct 2011 15:47:21 +0000
(16:47 +0100)
The code is old, so must be some a compiler change that makes
them show up now. Initializing the rect is good anyway, and it
removes the warning.
Change-Id: If076df1250e0c9b9980db0387cd7f99ecb00dc0c
Source/WebKit/android/nav/WebView.cpp
patch
|
blob
|
history
diff --git
a/Source/WebKit/android/nav/WebView.cpp
b/Source/WebKit/android/nav/WebView.cpp
index
1dcc7c4
..
b5597e7
100644
(file)
--- a/
Source/WebKit/android/nav/WebView.cpp
+++ b/
Source/WebKit/android/nav/WebView.cpp
@@
-420,7
+420,7
@@
void scrollRectOnScreen(const IntRect& rect)
{
if (rect.isEmpty())
return;
- SkRect visible;
+ SkRect visible
= SkRect::MakeEmpty()
;
calcOurContentVisibleRect(&visible);
int dx = 0;
int left = rect.x();