Bug 156847 - [GTK][EFL] Move non-glib/gtk platform implementations out of platform/gtk
Summary: [GTK][EFL] Move non-glib/gtk platform implementations out of platform/gtk
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Claudio Saavedra
URL:
Keywords:
: 116460 (view as bug list)
Depends on:
Blocks: 157027
  Show dependency treegraph
 
Reported: 2016-04-21 06:14 PDT by Claudio Saavedra
Modified: 2020-10-21 02:34 PDT (History)
2 users (show)

See Also:


Attachments
Patch (10.44 KB, patch)
2016-04-21 06:16 PDT, Claudio Saavedra
no flags Details | Formatted Diff | Diff
Patch for landing (15.49 KB, patch)
2016-04-21 07:14 PDT, Claudio Saavedra
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Claudio Saavedra 2016-04-21 06:14:16 PDT
[GTK] Move non-glib/gtk platform implementations out of platform/gtk
Comment 1 Claudio Saavedra 2016-04-21 06:16:45 PDT
Created attachment 276916 [details]
Patch
Comment 2 WebKit Commit Bot 2016-04-21 06:18:56 PDT
Attachment 276916 [details] did not pass style-queue:


ERROR: Source/WebCore/platform/unix/LanguageUnix.cpp:25:  Alphabetical sorting problem.  [build/include_order] [4]
Total errors found: 1 in 4 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Carlos Garcia Campos 2016-04-21 06:33:43 PDT
Comment on attachment 276916 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=276916&action=review

> Source/WebCore/PlatformGTK.cmake:187
> +
> +    platform/unix/LanguageUnix.cpp
> +    platform/unix/LoggingUnix.cpp

You should do the same for EFL, since the implementation is now the same, no?

> Source/WebCore/platform/unix/LanguageUnix.cpp:25
> +

Remove this empty line here.

> Source/WebCore/platform/unix/LanguageUnix.cpp:49
> +    Vector<String> userPreferredLanguages;
> +    userPreferredLanguages.append(platformLanguage());
> +    return userPreferredLanguages;

This could just be return { platformLanguage() }; I think

> Source/WebCore/platform/unix/LoggingUnix.cpp:46
> +    String logLevel = "NotYetImplemented,";
> +    logLevel.append(logEnv);
> +    return logLevel;

And this could probably be return String("NotYetImplemented,") + logEnv
Comment 4 Claudio Saavedra 2016-04-21 07:14:32 PDT
Created attachment 276922 [details]
Patch for landing
Comment 5 WebKit Commit Bot 2016-04-21 08:11:54 PDT
Comment on attachment 276922 [details]
Patch for landing

Clearing flags on attachment: 276922

Committed r199815: <http://trac.webkit.org/changeset/199815>
Comment 6 WebKit Commit Bot 2016-04-21 08:11:57 PDT
All reviewed patches have been landed.  Closing bug.
Comment 7 Martin Robinson 2020-10-21 02:34:18 PDT
*** Bug 116460 has been marked as a duplicate of this bug. ***