Thanks, I think maybe this version fails to compile.

Last week I have synced to the last version of the code. This version seems
to have an issue when pressing TAB key, it throws an access violation.

void WebContentsViewWin::OnPaint(HDC junk_dc) {
  if (web_contents_->render_view_host() &&
      !web_contents_->render_view_host()->IsRenderViewLive()) {
<---------------
    if (!web_contents_->sad_tab_.get())
      web_contents_->sad_tab_.reset(new SadTabView);
    CRect cr;
    GetClientRect(&cr);
    web_contents_->sad_tab_->SetBounds(gfx::Rect(cr));
    ChromeCanvasPaint canvas(GetHWND(), true);
    web_contents_->sad_tab_->ProcessPaint(&canvas);
    return;
  }

Looking at web_contents_ I can see that render_view_factory_ is NULL.
This is a known issue?

Thanks in advance!
Lucila


On Wed, Oct 29, 2008 at 4:32 PM, Ricardo Vargas <[EMAIL PROTECTED]>wrote:

> There is always a chance that the code you're syncing against was also
> failing to compile. If you are trying to compile exactly the code that was
> released as 149.30, the build revision number cannot be used to sync from
> the trunk; it has to be used to sync from the official branch.
>
>
> On Wed, Oct 29, 2008 at 12:04 PM, Lucila-Nkt <[EMAIL PROTECTED]> wrote:
>
>>
>> I am using Visual Studio 2005
>>
>> The first errors are:
>> Error   1       error PRJ0019: A tool returned an error code from
>> "Executing
>> tool..."        rlz
>> Error   2       error LNK2001: unresolved external symbol
>> _utf8_nextCharSafeBody_3_8      googleurl.lib
>> Error   3       error LNK2019: unresolved external symbol
>> _utf8_nextCharSafeBody_3_8 referenced in function "bool __cdecl
>> url_canon::ReadUTFChar(char const *,int *,int,unsigned int *)" (?
>> [EMAIL PROTECTED]@@[EMAIL PROTECTED])        googleurl.lib
>> Error   4       error LNK2001: unresolved external symbol
>> _utf8_nextCharSafeBody_3_8      googleurl.lib
>> Error   5       error LNK2001: unresolved external symbol
>> _utf8_nextCharSafeBody_3_8      googleurl.lib
>> Error   6       error LNK2001: unresolved external symbol
>> _utf8_nextCharSafeBody_3_8      googleurl.lib
>> Error   7       error LNK2019: unresolved external symbol
>> _ucnv_cbFromUWriteBytes_3_8 referenced in function "void __cdecl
>> url_canon::`anonymous namespace'::appendURLEscapedChar(void const
>> *,struct UConverterFromUnicodeArgs *,wchar_t const *,int,int,enum
>> UConverterCallbackReason,enum UErrorCode *)" ([EMAIL PROTECTED]
>> [EMAIL PROTECTED]@@YAXPBXPAUUConverterFromUnicodeArgs@
>> @PB_WHHW4UConverterCallbackReason@@PAW4UErrorCode@@@Z)
>> googleurl.lib
>> Error   8       error LNK2019: unresolved external symbol
>> _ucnv_fromUChars_3_8
>> referenced in function "public: virtual void __thiscall
>> url_canon::ICUCharsetConverter::ConvertFromUTF16(wchar_t const
>> *,int,class url_canon::CanonOutputT<char> *)" (?
>> [EMAIL PROTECTED]@url_canon@@UAEXPB_WHPAV?
>> [EMAIL PROTECTED]@2@@Z)   googleurl.lib
>> Error   9       error LNK2019: unresolved external symbol
>> _ucnv_setFromUCallBack_3_8 referenced in function "public: __thiscall
>> url_canon::`anonymous
>> namespace'::AppendHandlerInstaller::AppendHandlerInstaller(struct
>> UConverter *)" ([EMAIL PROTECTED]
>> [EMAIL PROTECTED]@@[EMAIL PROTECTED]@@@Z)   googleurl.lib
>> Error   10      error LNK2019: unresolved external symbol
>> _uidna_IDNToASCII_3_8 referenced in function "bool __cdecl
>> url_canon::IDNToASCII(wchar_t const *,int,class
>> url_canon::CanonOutputT<wchar_t> *)" (?
>> [EMAIL PROTECTED]@@[EMAIL PROTECTED]@1@@Z)
>> googleurl.lib
>> Error   11      error LNK2019: unresolved external symbol "public: virtual
>> __thiscall icu_3_8::UnicodeSet::~UnicodeSet(void)" (??
>> [EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function "void __cdecl
>> file_util::ReplaceIllegalCharacters(class
>> std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class
>> std::allocator<wchar_t> > *,int)" (?
>> [EMAIL PROTECTED]@@[EMAIL PROTECTED]
>> [EMAIL PROTECTED]@std@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED])       
>> base.lib
>> Error   12      error LNK2019: unresolved external symbol "public: virtual
>> signed char __thiscall icu_3_8::UnicodeSet::contains(int)const " (?
>> [EMAIL PROTECTED]@icu_3_8@@[EMAIL PROTECTED]) referenced in function "void
>> __cdecl file_util::ReplaceIllegalCharacters(class
>> std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class
>> std::allocator<wchar_t> > *,int)" (?
>> [EMAIL PROTECTED]@@[EMAIL PROTECTED]
>> [EMAIL PROTECTED]@std@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED])       
>> base.lib
>>
>>
>> On Oct 29, 3:55 pm, "Evan Martin" <[EMAIL PROTECTED]> wrote:
>> > Which platform?
>> > Can you paste the errors?
>> >
>> > On Wed, Oct 29, 2008 at 11:43 AM, Lucila-Nkt <[EMAIL PROTECTED]>
>> wrote:
>> >
>> > > I was able to sync the code to the last version and build without any
>> > > problems.
>> > > But now I can't build revision 4060 (build 149.30). The "icuuc"
>> > > project is unavailable and I am getting a lot of build errors. I have
>> > > used gclient to get this revision.
>> >
>> > > Any help will be grateful,
>> > > Thanks!
>> >
>> > > Lucila
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/chromium-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to