|
Fixes minor nits in Instant.
Perfcrastination:
- Adhere to the style guide with respect to DCHECKs: Either remove them
if they are not "must be true", or remove the "if (!...)" handlers.
- Disallow the default constructor in most places.
- Let the unload handler live across Instant pref changes (so that tabs
are not prematurely destroyed).
- Delay-destruct objects whose methods are callers are on the stack.
BUG=none
[email protected]
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=159247
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+38 lines, -74 lines) |
Patch |
 |
M |
chrome/browser/instant/instant_controller.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/instant/instant_controller.cc
|
View
|
1
2
3
|
8 chunks |
+0 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/instant/instant_loader.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/instant/instant_loader.cc
|
View
|
1
2
3
|
6 chunks |
+9 lines, -21 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/instant/instant_unload_handler.h
|
View
|
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/instant/instant_unload_handler.cc
|
View
|
1
|
5 chunks |
+14 lines, -23 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/browser_instant_controller.h
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/browser_instant_controller.cc
|
View
|
1
2
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/searchbox/searchbox.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/renderer/searchbox/searchbox_extension.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/renderer/searchbox/searchbox_extension.cc
|
View
|
1
2
3
|
4 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|