Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Issue 11777028: GTTF: Fix problems with contents detected by debugallocation: (Closed)

Created:
7 years, 11 months ago by Paweł Hajdan Jr.
Modified:
7 years, 11 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, jochen+watch_chromium.org
Visibility:
Public.

Description

GTTF: Fix problems with contents detected by debugallocation: - unitialized variables Example: [320:320:0108/121207:1124051475207:FATAL:browser_main_loop.cc(175)] Gtk: IA__gtk_widget_set_size_request: assertion `width >= -1' failed base::debug::StackTrace::StackTrace() [0xc57eac] logging::LogMessage::~LogMessage() [0xc77719] content::(anonymous namespace)::GLibLogHandler() [0x33f749c] <unknown> [0x7fe62ad7ffa1] <unknown> [0x7fe62ad801b2] content::Shell::SizeTo() [0x81f69c] content::Shell::PlatformResizeSubViews() [0x81f6cc] content::Shell::CreateShell() [0x81c3f2] content::Shell::CreateNewWindow() [0x81c6fa] content::WebKitTestController::PrepareForLayoutTest() [0x829e82] content::InProcessBrowserLayoutTest::RunLayoutTestInternal() [0x5790f7] content::InProcessBrowserLayoutTest::RunLayoutTest() [0x578d91] content::MediaLayoutTest_VideoLoopTest_Test::RunTestOnMainThread() [0x4d93ba] content::ContentBrowserTest::RunTestOnMainThreadLoop() [0x573ba2] content::BrowserTestBase::ProxyRunTestOnMainThreadLoop() [0x83e5ab] base::internal::RunnableAdapter<>::Run() [0x83eb7e] base::internal::InvokeHelper<>::MakeItSo() [0x83eb16] base::internal::Invoker<>::Run() [0x83eac3] base::Callback<>::Run() [0x459f2d] content::ShellBrowserMainParts::PreMainMessageLoopRun() [0x838a4e] content::BrowserMainLoop::CreateThreads() [0x33f846e] content::BrowserMainRunnerImpl::Initialize() [0x326bd64] content::BrowserMain() [0x326b96b] content::BrowserTestBase::SetUp() [0x83e536] content::ContentBrowserTest::SetUp() [0x573a15] BUG=30715 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175608

Patch Set 1 #

Total comments: 2

Patch Set 2 : just one file #

Total comments: 2

Patch Set 3 : fixes #

Total comments: 1

Patch Set 4 : SizeTo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M content/shell/shell_gtk.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Paweł Hajdan Jr.
7 years, 11 months ago (2013-01-08 17:46:25 UTC) #1
jam
https://codereview.chromium.org/11777028/diff/1/content/browser/browser_plugin/browser_plugin_host_browsertest.cc File content/browser/browser_plugin/browser_plugin_host_browsertest.cc (right): https://codereview.chromium.org/11777028/diff/1/content/browser/browser_plugin/browser_plugin_host_browsertest.cc#newcode905 content/browser/browser_plugin/browser_plugin_host_browsertest.cc:905: GURL url = GURL("https://www.example.com/index.html"); please use an owner from ...
7 years, 11 months ago (2013-01-08 18:00:55 UTC) #2
Paweł Hajdan Jr.
Elliot, could you take a look? This fixes unitialized variable access.
7 years, 11 months ago (2013-01-08 19:03:49 UTC) #3
Elliot Glaysher
https://codereview.chromium.org/11777028/diff/7001/content/shell/shell_gtk.cc File content/shell/shell_gtk.cc (right): https://codereview.chromium.org/11777028/diff/7001/content/shell/shell_gtk.cc#newcode217 content/shell/shell_gtk.cc:217: SizeTo(1000, 600); Could you initialize |content_{width,height}_| instead? We want ...
7 years, 11 months ago (2013-01-08 19:22:11 UTC) #4
jochen (gone - plz use gerrit)
https://codereview.chromium.org/11777028/diff/7001/content/shell/shell_gtk.cc File content/shell/shell_gtk.cc (right): https://codereview.chromium.org/11777028/diff/7001/content/shell/shell_gtk.cc#newcode217 content/shell/shell_gtk.cc:217: SizeTo(1000, 600); On 2013/01/08 19:22:11, Elliot Glaysher wrote: > ...
7 years, 11 months ago (2013-01-08 19:38:29 UTC) #5
Paweł Hajdan Jr.
PTAL
7 years, 11 months ago (2013-01-08 20:15:39 UTC) #6
jochen (gone - plz use gerrit)
https://codereview.chromium.org/11777028/diff/13001/content/shell/shell_gtk.cc File content/shell/shell_gtk.cc (right): https://codereview.chromium.org/11777028/diff/13001/content/shell/shell_gtk.cc#newcode104 content/shell/shell_gtk.cc:104: if (headless_) You should invoke SizeTo(width, height) here
7 years, 11 months ago (2013-01-08 20:20:34 UTC) #7
Elliot Glaysher
On 2013/01/08 20:15:39, Paweł Hajdan Jr. wrote: > PTAL I will defer to jochen here, ...
7 years, 11 months ago (2013-01-08 20:21:04 UTC) #8
Paweł Hajdan Jr.
Jochen, PTAL. Thank you for helping me figure out the best way to do that ...
7 years, 11 months ago (2013-01-08 21:28:26 UTC) #9
jochen (gone - plz use gerrit)
7 years, 11 months ago (2013-01-08 21:29:51 UTC) #10
lgtm

Powered by Google App Engine
This is Rietveld 408576698